Tag fix
This commit is contained in:
parent
293b0b4448
commit
714bf208d2
1 changed files with 4 additions and 3 deletions
|
@ -23,12 +23,13 @@ public class BlockTagRegistry {
|
||||||
public static void register() {
|
public static void register() {
|
||||||
TagHelper.addTag(END_GROUND, BlockRegistry.END_MOSS, BlockRegistry.END_MYCELIUM, BlockRegistry.ENDER_ORE);
|
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);
|
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) -> {
|
END_GROUND.values().forEach((block) -> {
|
||||||
TagHelper.addTag(GEN_TERRAIN, block);
|
TagHelper.addTag(GEN_TERRAIN, block);
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void addTerrainTags(Registry<Biome> biomeRegistry) {
|
||||||
biomeRegistry.forEach((biome) -> {
|
biomeRegistry.forEach((biome) -> {
|
||||||
if (biome.getCategory() == Category.THEEND) {
|
if (biome.getCategory() == Category.THEEND) {
|
||||||
SurfaceConfig config = biome.getGenerationSettings().getSurfaceConfig();
|
SurfaceConfig config = biome.getGenerationSettings().getSurfaceConfig();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue