From 6c4b5b4ca0ebf546717006cf885a311b6e4c370c Mon Sep 17 00:00:00 2001 From: Alex Nijjar Date: Sat, 15 Jun 2024 11:11:22 -0500 Subject: [PATCH] Fix trophy tag (#99) --- .../resources/.cache/d92fab55179a6614c04306098c1491a4f494f922 | 4 ++-- .../resources/data/handcrafted/tags/item/trophies.json | 1 + .../earth/terrarium/handcrafted/common/registry/ModItems.java | 2 +- .../main/resources/data/handcrafted/tags/items/chests.json | 4 ---- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/common/src/main/generated/resources/.cache/d92fab55179a6614c04306098c1491a4f494f922 b/common/src/main/generated/resources/.cache/d92fab55179a6614c04306098c1491a4f494f922 index 48c4afd4..1c954664 100644 --- a/common/src/main/generated/resources/.cache/d92fab55179a6614c04306098c1491a4f494f922 +++ b/common/src/main/generated/resources/.cache/d92fab55179a6614c04306098c1491a4f494f922 @@ -1,4 +1,4 @@ -// 1.21 2024-06-14T15:04:48.026246 Tags for minecraft:item mod id handcrafted +// 1.21 2024-06-15T11:08:37.057245 Tags for minecraft:item mod id handcrafted 148d9202ace672cfdf451a46397702b32fab9450 data/handcrafted/tags/item/benches.json 3662d7ac15380cec631c2eb872b6cbbb69072d62 data/handcrafted/tags/item/bowls.json d23ee811738879d0b22d489c76f6947f6b0ccf40 data/handcrafted/tags/item/chairs.json @@ -26,6 +26,6 @@ d112ab59e44172869a67906c9fa183dc24bd4cfd data/handcrafted/tags/item/shelves.json 0a476d2c80837899a06ef0ec1d6f93c65a06b6e6 data/handcrafted/tags/item/tables.json 408a5532264615089c4903b190b340520128fb8d data/handcrafted/tags/item/trim_materials.json 2eb1cdbe5ae5c4c2dccbe453cb855815860eb4c6 data/handcrafted/tags/item/trims.json -df918434c0a6a43e73962c398e63489375534dd4 data/handcrafted/tags/item/trophies.json +fc2ac2105e437d1f002cab5eca7c30cf01640e40 data/handcrafted/tags/item/trophies.json d8eb078f9f793ef17806bb6e83b18f5649f6542e data/handcrafted/tags/item/wooden_benches.json ab0e36c3ebe380ea3defda5c2803d4177ca1e908 data/minecraft/tags/item/beds.json diff --git a/common/src/main/generated/resources/data/handcrafted/tags/item/trophies.json b/common/src/main/generated/resources/data/handcrafted/tags/item/trophies.json index 1effabf8..5faea917 100644 --- a/common/src/main/generated/resources/data/handcrafted/tags/item/trophies.json +++ b/common/src/main/generated/resources/data/handcrafted/tags/item/trophies.json @@ -12,6 +12,7 @@ "handcrafted:tropical_fish_trophy", "handcrafted:wither_skeleton_trophy", "handcrafted:wolf_trophy", + "handcrafted:phantom_trophy", "handcrafted:creeper_trophy", "handcrafted:skeleton_trophy", "handcrafted:evoker_trophy", diff --git a/common/src/main/java/earth/terrarium/handcrafted/common/registry/ModItems.java b/common/src/main/java/earth/terrarium/handcrafted/common/registry/ModItems.java index db8b8c21..258d4e89 100644 --- a/common/src/main/java/earth/terrarium/handcrafted/common/registry/ModItems.java +++ b/common/src/main/java/earth/terrarium/handcrafted/common/registry/ModItems.java @@ -334,7 +334,7 @@ public class ModItems { public static final RegistryEntry WITHER_SKELETON_TROPHY = TROPHIES.register("wither_skeleton_trophy", () -> new BlockItem(ModBlocks.WITHER_SKELETON_TROPHY.get(), new Item.Properties())); public static final RegistryEntry WOLF_TROPHY = TROPHIES.register("wolf_trophy", () -> new BlockItem(ModBlocks.WOLF_TROPHY.get(), new Item.Properties())); - public static final RegistryEntry PHANTOM_TROPHY = ITEMS.register("phantom_trophy", () -> new BlockItem(ModBlocks.PHANTOM_TROPHY.get(), new Item.Properties())); + public static final RegistryEntry PHANTOM_TROPHY = TROPHIES.register("phantom_trophy", () -> new BlockItem(ModBlocks.PHANTOM_TROPHY.get(), new Item.Properties())); public static final RegistryEntry CREEPER_TROPHY = TROPHIES.register("creeper_trophy", () -> new BlockItem(ModBlocks.CREEPER_TROPHY.get(), new Item.Properties())); public static final RegistryEntry SKELETON_TROPHY = TROPHIES.register("skeleton_trophy", () -> new BlockItem(ModBlocks.SKELETON_TROPHY.get(), new Item.Properties())); diff --git a/common/src/main/resources/data/handcrafted/tags/items/chests.json b/common/src/main/resources/data/handcrafted/tags/items/chests.json index e1ebc5c9..9fbed96d 100644 --- a/common/src/main/resources/data/handcrafted/tags/items/chests.json +++ b/common/src/main/resources/data/handcrafted/tags/items/chests.json @@ -4,10 +4,6 @@ { "id": "#c:chests", "required": false - }, - { - "id": "#forge:chests", - "required": false } ] } \ No newline at end of file