Changed foliage/leaf block loot tables to use the Forge shears tag (Closes #1689)

This commit is contained in:
Forstride 2020-11-09 00:47:01 -05:00
parent b8bbadd73a
commit f66a7f349e
30 changed files with 54 additions and 52 deletions

View file

@ -56,6 +56,7 @@ public class WoodedScrublandBiome extends BiomeTemplate
// Vegetation // Vegetation
builder.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, BOPConfiguredFeatures.WOODED_SCRUBLAND_TREES); builder.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, BOPConfiguredFeatures.WOODED_SCRUBLAND_TREES);
builder.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, BOPConfiguredFeatures.SCRUBLAND_FLOWERS);
builder.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, BOPConfiguredFeatures.DESERT_GRASS_10); builder.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, BOPConfiguredFeatures.DESERT_GRASS_10);
builder.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, BOPConfiguredFeatures.SCRUB_EXTRA); builder.addFeature(GenerationStage.Decoration.VEGETAL_DECORATION, BOPConfiguredFeatures.SCRUB_EXTRA);

View file

@ -189,6 +189,7 @@ public class BOPConfiguredFeatures
public static final ConfiguredFeature<?, ?> UNDERGROWTH_FLOWERS = register("undergrowth_flowers", Feature.RANDOM_PATCH.configured(BiomeFeatureHelper.createClusterConfiguration(BOPBlocks.burning_blossom.defaultBlockState())).decorated(Features.Placements.HEIGHTMAP_DOUBLE_SQUARE.count(8))); public static final ConfiguredFeature<?, ?> UNDERGROWTH_FLOWERS = register("undergrowth_flowers", Feature.RANDOM_PATCH.configured(BiomeFeatureHelper.createClusterConfiguration(BOPBlocks.burning_blossom.defaultBlockState())).decorated(Features.Placements.HEIGHTMAP_DOUBLE_SQUARE.count(8)));
public static final ConfiguredFeature<?, ?> WASTELAND_FLOWERS = register("wasteland_flowers", BOPFeatures.WASTELAND_FLOWERS.configured(IFeatureConfig.NONE).decorated(Features.Placements.ADD_32).decorated(Features.Placements.HEIGHTMAP_SQUARE.count(1))); public static final ConfiguredFeature<?, ?> WASTELAND_FLOWERS = register("wasteland_flowers", BOPFeatures.WASTELAND_FLOWERS.configured(IFeatureConfig.NONE).decorated(Features.Placements.ADD_32).decorated(Features.Placements.HEIGHTMAP_SQUARE.count(1)));
public static final ConfiguredFeature<?, ?> WETLAND_FLOWERS = register("wetland_flowers", BOPFeatures.WETLAND_FLOWERS.configured(IFeatureConfig.NONE).decorated(Features.Placements.ADD_32).decorated(Features.Placements.HEIGHTMAP_SQUARE.count(3))); public static final ConfiguredFeature<?, ?> WETLAND_FLOWERS = register("wetland_flowers", BOPFeatures.WETLAND_FLOWERS.configured(IFeatureConfig.NONE).decorated(Features.Placements.ADD_32).decorated(Features.Placements.HEIGHTMAP_SQUARE.count(3)));
public static final ConfiguredFeature<?, ?> SCRUBLAND_FLOWERS = register("scrubland_flowers", BOPFeatures.WILDFLOWER_FEATURE.configured(IFeatureConfig.NONE).decorated(Features.Placements.ADD_32).decorated(Features.Placements.HEIGHTMAP_SQUARE.count(2)));
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
], ],

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
], ],

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -157,7 +157,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -157,7 +157,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -157,7 +157,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -157,7 +157,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -157,7 +157,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -22,7 +22,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -22,7 +22,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {

View file

@ -13,7 +13,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
} }
] ]

View file

@ -16,7 +16,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -103,7 +103,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {
@ -157,7 +157,7 @@
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"item": "minecraft:shears" "tag": "forge:shears"
} }
}, },
{ {