From 117b3b99ddadd9f5e8bd0bf1612ac74b4739ec3d Mon Sep 17 00:00:00 2001 From: bl4ckscor3 Date: Wed, 20 Oct 2021 23:12:16 +0200 Subject: [PATCH] add reinforced moss to small_dreapleaf_placeable tag --- .gitattributes | 1 + .../data/minecraft/tags/blocks/small_dripleaf_placeable.json | 3 ++- .../geforcemods/securitycraft/datagen/BlockTagGenerator.java | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..c2ef72c9e2 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +src/generated/**/*.json text eol=lf diff --git a/src/generated/resources/data/minecraft/tags/blocks/small_dripleaf_placeable.json b/src/generated/resources/data/minecraft/tags/blocks/small_dripleaf_placeable.json index 68e2e24d9f..2e3f01e965 100644 --- a/src/generated/resources/data/minecraft/tags/blocks/small_dripleaf_placeable.json +++ b/src/generated/resources/data/minecraft/tags/blocks/small_dripleaf_placeable.json @@ -1,6 +1,7 @@ { "replace": false, "values": [ - "securitycraft:reinforced_clay" + "securitycraft:reinforced_clay", + "securitycraft:reinforced_moss_block" ] } \ No newline at end of file diff --git a/src/main/java/net/geforcemods/securitycraft/datagen/BlockTagGenerator.java b/src/main/java/net/geforcemods/securitycraft/datagen/BlockTagGenerator.java index 82e7568e8d..142de0c325 100644 --- a/src/main/java/net/geforcemods/securitycraft/datagen/BlockTagGenerator.java +++ b/src/main/java/net/geforcemods/securitycraft/datagen/BlockTagGenerator.java @@ -288,7 +288,7 @@ protected void addTags() tag(BlockTags.PRESSURE_PLATES).addTag(SCTags.Blocks.REINFORCED_PRESSURE_PLATES); tag(BlockTags.RAILS).add(SCContent.TRACK_MINE.get()); tag(BlockTags.SLABS).addTag(SCTags.Blocks.REINFORCED_SLABS).add(SCContent.CRYSTAL_QUARTZ_SLAB.get()); - tag(BlockTags.SMALL_DRIPLEAF_PLACEABLE).add(SCContent.REINFORCED_CLAY.get()); + tag(BlockTags.SMALL_DRIPLEAF_PLACEABLE).add(SCContent.REINFORCED_CLAY.get(), SCContent.REINFORCED_MOSS_BLOCK.get()); tag(BlockTags.STAIRS).addTag(SCTags.Blocks.REINFORCED_STAIRS).add(SCContent.STAIRS_CRYSTAL_QUARTZ.get()); tag(BlockTags.STRIDER_WARM_BLOCKS).add(SCContent.FAKE_LAVA_BLOCK.get()); tag(BlockTags.SIGNS).addTag(SCTags.Blocks.SECRET_SIGNS);