From fef2ccfdd08e482c5996ba4c56ec1c4679117e72 Mon Sep 17 00:00:00 2001 From: Amronos <134804732+Amronos@users.noreply.github.com> Date: Sat, 13 Jul 2024 09:13:11 +0530 Subject: [PATCH] update copycats compat, fixes #11 --- .../data/copycats/tags/items/copycat_stairs.json | 13 +++++++++++++ .../data/datagen/ModItemTagGenerator.java | 8 ++++++-- .../data/tags/CopycatsTags.java | 1 + 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 src/generated/resources/data/copycats/tags/items/copycat_stairs.json diff --git a/src/generated/resources/data/copycats/tags/items/copycat_stairs.json b/src/generated/resources/data/copycats/tags/items/copycat_stairs.json new file mode 100644 index 0000000..c062b54 --- /dev/null +++ b/src/generated/resources/data/copycats/tags/items/copycat_stairs.json @@ -0,0 +1,13 @@ +{ + "replace": true, + "values": [ + { + "id": "copycats:copycat_stairs", + "required": false + }, + { + "id": "create_connected:copycat_stairs", + "required": false + } + ] +} \ No newline at end of file diff --git a/src/main/java/net/amronos/createaddoncompatibility/data/datagen/ModItemTagGenerator.java b/src/main/java/net/amronos/createaddoncompatibility/data/datagen/ModItemTagGenerator.java index efeda6b..a32ed40 100644 --- a/src/main/java/net/amronos/createaddoncompatibility/data/datagen/ModItemTagGenerator.java +++ b/src/main/java/net/amronos/createaddoncompatibility/data/datagen/ModItemTagGenerator.java @@ -21,9 +21,8 @@ public ModItemTagGenerator(PackOutput p_275343_, CompletableFuture COPYCAT_BOX = tag("copycat_box"); public static final TagKey COPYCAT_CATWALK = tag("copycat_catwalk"); public static final TagKey COPYCAT_SLAB = tag("copycat_slab"); + public static final TagKey COPYCAT_STAIRS = tag("copycat_stairs"); private static TagKey tag(String name) { return ItemTags.create(new ResourceLocation("copycats", name));