NetherMushroomForest

This commit is contained in:
Frank 2022-06-06 02:43:06 +02:00
parent f0d1f1e453
commit c9daf3c5d3
2 changed files with 11 additions and 2 deletions

View file

@ -103,6 +103,13 @@ public class FastFeatures {
.buildAndRegister(); .buildAndRegister();
} }
public static BCLFeature
simple(ResourceLocation location, Feature<NoneFeatureConfiguration> feature) {
return BCLFeatureBuilder
.start(location, feature)
.buildAndRegister();
}
public static BCLFeature public static BCLFeature
simple(ResourceLocation location, simple(ResourceLocation location,
int searchDist, int searchDist,
@ -192,6 +199,4 @@ public class FastFeatures {
.start(patchLocation, Feature.RANDOM_PATCH) .start(patchLocation, Feature.RANDOM_PATCH)
.buildAndRegister(new RandomPatchConfiguration(attempts, xzSpread, ySpread, single.getPlacedFeature())); .buildAndRegister(new RandomPatchConfiguration(attempts, xzSpread, ySpread, single.getPlacedFeature()));
} }
} }

View file

@ -14,6 +14,7 @@ public class CommonBlockTags {
public static final TagKey<Block> IMMOBILE = TagAPI.makeCommonBlockTag("immobile"); public static final TagKey<Block> IMMOBILE = TagAPI.makeCommonBlockTag("immobile");
public static final TagKey<Block> LEAVES = TagAPI.makeCommonBlockTag("leaves"); public static final TagKey<Block> LEAVES = TagAPI.makeCommonBlockTag("leaves");
public static final TagKey<Block> NETHERRACK = TagAPI.makeCommonBlockTag("netherrack"); public static final TagKey<Block> NETHERRACK = TagAPI.makeCommonBlockTag("netherrack");
public static final TagKey<Block> MYCELIUM = TagAPI.makeCommonBlockTag("mycelium");
public static final TagKey<Block> NETHER_MYCELIUM = TagAPI.makeCommonBlockTag("nether_mycelium"); public static final TagKey<Block> NETHER_MYCELIUM = TagAPI.makeCommonBlockTag("nether_mycelium");
public static final TagKey<Block> NETHER_PORTAL_FRAME = TagAPI.makeCommonBlockTag("nether_pframe"); public static final TagKey<Block> NETHER_PORTAL_FRAME = TagAPI.makeCommonBlockTag("nether_pframe");
public static final TagKey<Block> NETHER_STONES = TagAPI.makeCommonBlockTag("nether_stones"); public static final TagKey<Block> NETHER_STONES = TagAPI.makeCommonBlockTag("nether_stones");
@ -65,5 +66,8 @@ public class CommonBlockTags {
SOUL_GROUND, SOUL_GROUND,
NETHER_MYCELIUM, NETHER_MYCELIUM,
END_STONES); END_STONES);
TagAPI.BLOCKS.add(MYCELIUM, Blocks.MYCELIUM);
TagAPI.BLOCKS.addOtherTags(MYCELIUM, NETHER_MYCELIUM);
} }
} }