diff --git a/src/main/java/org/betterx/bclib/api/features/FastFeatures.java b/src/main/java/org/betterx/bclib/api/features/FastFeatures.java index 43d59440..3faa56da 100644 --- a/src/main/java/org/betterx/bclib/api/features/FastFeatures.java +++ b/src/main/java/org/betterx/bclib/api/features/FastFeatures.java @@ -103,6 +103,13 @@ public class FastFeatures { .buildAndRegister(); } + public static BCLFeature + simple(ResourceLocation location, Feature feature) { + return BCLFeatureBuilder + .start(location, feature) + .buildAndRegister(); + } + public static BCLFeature simple(ResourceLocation location, int searchDist, @@ -192,6 +199,4 @@ public class FastFeatures { .start(patchLocation, Feature.RANDOM_PATCH) .buildAndRegister(new RandomPatchConfiguration(attempts, xzSpread, ySpread, single.getPlacedFeature())); } - - } diff --git a/src/main/java/org/betterx/bclib/api/tag/CommonBlockTags.java b/src/main/java/org/betterx/bclib/api/tag/CommonBlockTags.java index f86d7a22..e0731338 100644 --- a/src/main/java/org/betterx/bclib/api/tag/CommonBlockTags.java +++ b/src/main/java/org/betterx/bclib/api/tag/CommonBlockTags.java @@ -14,6 +14,7 @@ public class CommonBlockTags { public static final TagKey IMMOBILE = TagAPI.makeCommonBlockTag("immobile"); public static final TagKey LEAVES = TagAPI.makeCommonBlockTag("leaves"); public static final TagKey NETHERRACK = TagAPI.makeCommonBlockTag("netherrack"); + public static final TagKey MYCELIUM = TagAPI.makeCommonBlockTag("mycelium"); public static final TagKey NETHER_MYCELIUM = TagAPI.makeCommonBlockTag("nether_mycelium"); public static final TagKey NETHER_PORTAL_FRAME = TagAPI.makeCommonBlockTag("nether_pframe"); public static final TagKey NETHER_STONES = TagAPI.makeCommonBlockTag("nether_stones"); @@ -65,5 +66,8 @@ public class CommonBlockTags { SOUL_GROUND, NETHER_MYCELIUM, END_STONES); + + TagAPI.BLOCKS.add(MYCELIUM, Blocks.MYCELIUM); + TagAPI.BLOCKS.addOtherTags(MYCELIUM, NETHER_MYCELIUM); } }