From 44360213de0ad2cae24e5bafda4331e874becf0e Mon Sep 17 00:00:00 2001 From: Uraneptus <50745606+Uraneptus@users.noreply.github.com> Date: Sun, 22 Dec 2024 21:55:28 +0100 Subject: [PATCH] closes #112 --- .../resources/data/minecraft/tags/items/piglin_loved.json | 7 +++++++ .../sullysmod/data/server/tags/SMItemTagsProvider.java | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/generated/resources/data/minecraft/tags/items/piglin_loved.json diff --git a/src/generated/resources/data/minecraft/tags/items/piglin_loved.json b/src/generated/resources/data/minecraft/tags/items/piglin_loved.json new file mode 100644 index 00000000..f63672b8 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/items/piglin_loved.json @@ -0,0 +1,7 @@ +{ + "values": [ + "sullysmod:golden_belt_buckle", + "sullysmod:golden_goblet", + "sullysmod:lost_crown" + ] +} \ No newline at end of file diff --git a/src/main/java/com/uraneptus/sullysmod/data/server/tags/SMItemTagsProvider.java b/src/main/java/com/uraneptus/sullysmod/data/server/tags/SMItemTagsProvider.java index 745b5034..1dae6ee9 100644 --- a/src/main/java/com/uraneptus/sullysmod/data/server/tags/SMItemTagsProvider.java +++ b/src/main/java/com/uraneptus/sullysmod/data/server/tags/SMItemTagsProvider.java @@ -111,6 +111,7 @@ protected void addTags(HolderLookup.Provider pProvider) { tag(ItemTags.LOGS).addTag(SMItemTags.PETRIFIED_LOGS); tag(ItemTags.SAPLINGS).add(SMBlocks.PETRIFIED_SAPLING.get().asItem()); tag(ItemTags.STONE_TOOL_MATERIALS).addTag(SMItemTags.PETRIFIED_LOGS); + tag(ItemTags.PIGLIN_LOVED).add(SMItems.GOLDEN_BELT_BUCKLE.get(), SMItems.GOLDEN_GOBLET.get(), SMItems.LOST_CROWN.get()); //Forge Tags tag(SMItemTags.CRAFTING_TABLES).add(Items.CRAFTING_TABLE);