From e69bc977c6a6153282903ff989b22456432f54f5 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 17 May 2020 21:47:48 +0200 Subject: [PATCH] made the aura bloom and end rose work with the flower generator, in case anyone wants that --- .../data/minecraft/tags/blocks/small_flowers.json | 7 +++++++ .../java/de/ellpeck/naturesaura/data/BlockTagProvider.java | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/generated/resources/data/minecraft/tags/blocks/small_flowers.json diff --git a/src/generated/resources/data/minecraft/tags/blocks/small_flowers.json b/src/generated/resources/data/minecraft/tags/blocks/small_flowers.json new file mode 100644 index 00000000..9eae3251 --- /dev/null +++ b/src/generated/resources/data/minecraft/tags/blocks/small_flowers.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "naturesaura:end_flower", + "naturesaura:aura_bloom" + ] +} \ No newline at end of file diff --git a/src/main/java/de/ellpeck/naturesaura/data/BlockTagProvider.java b/src/main/java/de/ellpeck/naturesaura/data/BlockTagProvider.java index 85d33fe1..07408eac 100644 --- a/src/main/java/de/ellpeck/naturesaura/data/BlockTagProvider.java +++ b/src/main/java/de/ellpeck/naturesaura/data/BlockTagProvider.java @@ -20,5 +20,6 @@ public class BlockTagProvider extends BlockTagsProvider { this.getBuilder(BlockTags.RAILS).add(ModBlocks.DIMENSION_RAIL_END, ModBlocks.DIMENSION_RAIL_NETHER, ModBlocks.DIMENSION_RAIL_OVERWORLD); this.getBuilder(BlockTags.SLABS).add(ModBlocks.ANCIENT_SLAB, ModBlocks.INFUSED_SLAB, ModBlocks.INFUSED_BRICK_SLAB); this.getBuilder(Tags.Blocks.DIRT).add(ModBlocks.NETHER_GRASS); + this.getBuilder(BlockTags.SMALL_FLOWERS).add(ModBlocks.END_FLOWER, ModBlocks.AURA_BLOOM); } }