This commit is contained in:
paulevsGitch 2020-10-10 02:09:47 +03:00
parent 293b0b4448
commit 714bf208d2

View file

@ -23,12 +23,13 @@ public class BlockTagRegistry {
public static void register() {
TagHelper.addTag(END_GROUND, BlockRegistry.END_MOSS, BlockRegistry.END_MYCELIUM, BlockRegistry.ENDER_ORE);
TagHelper.addTag(BlockTags.NYLIUM, BlockRegistry.END_MOSS, BlockRegistry.END_MYCELIUM, BlockRegistry.ENDER_ORE);
}
public static void addTerrainTags(Registry<Biome> biomeRegistry) {
END_GROUND.values().forEach((block) -> {
TagHelper.addTag(GEN_TERRAIN, block);
});
}
public static void addTerrainTags(Registry<Biome> biomeRegistry) {
biomeRegistry.forEach((biome) -> {
if (biome.getCategory() == Category.THEEND) {
SurfaceConfig config = biome.getGenerationSettings().getSurfaceConfig();