Biome Modification must exclude minecraft and betterend biomes
This commit is contained in:
parent
ff832dd08b
commit
f77754da81
1 changed files with 6 additions and 1 deletions
|
@ -90,7 +90,12 @@ public class EndStructures {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void addBiomeStructures(ResourceLocation biomeID, Holder<Biome> biome) {
|
public static void addBiomeStructures(ResourceLocation biomeID, Holder<Biome> biome) {
|
||||||
if (!biomeID.getPath().contains("mountain") && !biomeID.getPath().contains("lake")) {
|
if (
|
||||||
|
!biomeID.getNamespace().equals("minecraft")
|
||||||
|
&& !biomeID.getNamespace().equals(BetterEnd.MOD_ID)
|
||||||
|
&& !biomeID.getPath().contains("mountain")
|
||||||
|
&& !biomeID.getPath().contains("lake")
|
||||||
|
) {
|
||||||
TagManager.BIOMES.add(ETERNAL_PORTAL.biomeTag, biome.value());
|
TagManager.BIOMES.add(ETERNAL_PORTAL.biomeTag, biome.value());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue