diff --git a/src/main/generated/assets/additional-armoury/lang/en_us.json b/src/main/generated/assets/additional-armoury/lang/en_us.json index f8069ff..9b3e5ea 100644 --- a/src/main/generated/assets/additional-armoury/lang/en_us.json +++ b/src/main/generated/assets/additional-armoury/lang/en_us.json @@ -278,6 +278,12 @@ "item.additional-armoury.wooden_mace": "Wooden Mace", "subtitles.additional-armoury.boomerang.throw": "Throws boomerang", "subtitles.additional-armoury.staff.cast": "Casts spell", + "tag.item.additional-armoury.daggers": "Daggers", + "tag.item.additional-armoury.enchantable.boomerang": "Boomerang Enchantable", + "tag.item.additional-armoury.enchantable.daggers": "Dagger Enchantable", + "tag.item.additional-armoury.enchantable.maces": "Mace Enchantable", + "tag.item.additional-armoury.enchantable.staff": "Staff Enchantable", + "tag.item.additional-armoury.maces": "Maces", "tooltip.additional-armoury.dagger_uses": "Remaining Splashes: %1$s", "upgrade.additional-armoury.endernether_upgrade": "Endernether Upgrade", "upgrade.additional-armoury.overnether_upgrade": "Overnether Upgrade" diff --git a/src/main/java/com/provismet/datagen/AdditionalArmoury/LanguageGenerator.java b/src/main/java/com/provismet/datagen/AdditionalArmoury/LanguageGenerator.java index 5e0d6da..6d19790 100644 --- a/src/main/java/com/provismet/datagen/AdditionalArmoury/LanguageGenerator.java +++ b/src/main/java/com/provismet/datagen/AdditionalArmoury/LanguageGenerator.java @@ -9,6 +9,7 @@ import com.provismet.AdditionalArmoury.registries.AAItems; import com.provismet.AdditionalArmoury.registries.AAStatusEffects; +import com.provismet.AdditionalArmoury.utility.AATags; import net.fabricmc.fabric.api.datagen.v1.FabricDataOutput; import net.fabricmc.fabric.api.datagen.v1.provider.FabricLanguageProvider; import net.minecraft.component.type.PotionContentsComponent; @@ -137,6 +138,13 @@ public void generateTranslations (RegistryWrapper.WrapperLookup registryLookup, LanguageGenerator.addAdvancement(translationBuilder, "tipped_dagger", "Rogue-Like", "Craft a potion-tipped Dagger"); LanguageGenerator.addAdvancement(translationBuilder, "overnether", "I Am Listening", "Get a full suit of Overnether armor"); LanguageGenerator.addAdvancement(translationBuilder, "endernether", "Part Of The Chorus", "Get a full suit of Endernether armor"); + + translationBuilder.add(AATags.ItemTags.DAGGERS, "Daggers"); + translationBuilder.add(AATags.ItemTags.DAGGER_ENCHANTABLE, "Dagger Enchantable"); + translationBuilder.add(AATags.ItemTags.MACES, "Maces"); + translationBuilder.add(AATags.ItemTags.MACE_ENCHANTABLE, "Mace Enchantable"); + translationBuilder.add(AATags.ItemTags.BOOMERANG_ENCHANTABLE, "Boomerang Enchantable"); + translationBuilder.add(AATags.ItemTags.STAFF_ENCHANTABLE, "Staff Enchantable"); } public static void addDagger (TranslationBuilder translationBuilder, DaggerItem dagger, String basename) {