Skip to content

Commit

Permalink
make quark freeze immune
Browse files Browse the repository at this point in the history
  • Loading branch information
krossgg committed Jan 12, 2025
1 parent 05627a3 commit 82c9f3f
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/generated/resources/assets/gtceu/lang/en_ud.json
Original file line number Diff line number Diff line change
Expand Up @@ -5350,6 +5350,7 @@
"metaarmor.tooltip.breath": "ɹɐᗺ ɥʇɐǝɹᗺ ɹǝʇɐʍɹǝpu∩ sǝɥsıuǝןdǝᴚ",
"metaarmor.tooltip.burning": "buıuɹnᗺ sǝıɟıןןnN",
"metaarmor.tooltip.falldamage": "ǝbɐɯɐᗡ ןןɐℲ sǝıɟıןןnN",
"metaarmor.tooltip.freezing": "buızǝǝɹℲ sʇuǝʌǝɹԀ",
"metaarmor.tooltip.jump": "ǝɔuɐʇsıᗡ puɐ ʇɥbıǝH dɯnſ sǝsɐǝɹɔuI",
"metaarmor.tooltip.potions": "sʇɔǝɟɟƎ ןnɟɯɹɐH sǝıɟıןןnN",
"metaarmor.tooltip.speed": "pǝǝdS buıuunᴚ sǝsɐǝɹɔuI",
Expand Down
1 change: 1 addition & 0 deletions src/generated/resources/assets/gtceu/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -5350,6 +5350,7 @@
"metaarmor.tooltip.breath": "Replenishes Underwater Breath Bar",
"metaarmor.tooltip.burning": "Nullifies Burning",
"metaarmor.tooltip.falldamage": "Nullifies Fall Damage",
"metaarmor.tooltip.freezing": "Prevents Freezing",
"metaarmor.tooltip.jump": "Increases Jump Height and Distance",
"metaarmor.tooltip.potions": "Nullifies Harmful Effects",
"metaarmor.tooltip.speed": "Increases Running Speed",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"values": [
"gtceu:quarktech_chestplate",
"gtceu:advanced_quarktech_chestplate"
]
}
3 changes: 3 additions & 0 deletions src/main/java/com/gregtechceu/gtceu/common/data/GTItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.stats.Stats;
import net.minecraft.tags.ItemTags;
import net.minecraft.world.InteractionResult;
import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.effect.MobEffects;
Expand Down Expand Up @@ -2440,6 +2441,7 @@ public Component getItemName(ItemStack stack) {
.lang("QuarkTech™ Suite Chestplate")
.properties(p -> p.rarity(Rarity.RARE))
.tag(Tags.Items.ARMORS_CHESTPLATES)
.tag(ItemTags.FREEZE_IMMUNE_WEARABLES)
.tag(CustomTags.PPE_ARMOR)
.register();
public static ItemEntry<ArmorComponentItem> QUANTUM_LEGGINGS = REGISTRATE
Expand Down Expand Up @@ -2537,6 +2539,7 @@ public Component getItemName(ItemStack stack) {
.lang("Advanced QuarkTech™ Suite Chestplate")
.properties(p -> p.rarity(Rarity.EPIC))
.tag(Tags.Items.ARMORS_CHESTPLATES)
.tag(ItemTags.FREEZE_IMMUNE_WEARABLES)
.tag(CustomTags.PPE_ARMOR)
.register();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ public void addInfo(ItemStack itemStack, List<Component> lines) {
lines.add(Component.translatable("metaarmor.tooltip.autoeat"));
} else if (type == ArmorItem.Type.CHESTPLATE) {
lines.add(Component.translatable("metaarmor.tooltip.burning"));
lines.add(Component.translatable("metaarmor.tooltip.freezing"));
} else if (type == ArmorItem.Type.LEGGINGS) {
lines.add(Component.translatable("metaarmor.tooltip.speed"));
} else if (type == ArmorItem.Type.BOOTS) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ public static void init(RegistrateLangProvider provider) {
provider.add("metaarmor.tooltip.falldamage", "Nullifies Fall Damage");
provider.add("metaarmor.tooltip.potions", "Nullifies Harmful Effects");
provider.add("metaarmor.tooltip.burning", "Nullifies Burning");
provider.add("metaarmor.tooltip.freezing", "Prevents Freezing");
provider.add("metaarmor.tooltip.breath", "Replenishes Underwater Breath Bar");
provider.add("metaarmor.tooltip.autoeat", "Replenishes Food Bar by Using Food from Inventory");
provider.add("metaarmor.hud.status.enabled", "§aON");
Expand Down

0 comments on commit 82c9f3f

Please sign in to comment.