Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Было:
- BiomeModifications.addSpawn(
- selection -> selection.getBiome().getCategory() == Biome.Category.SAVANNA,
- SpawnGroup.CREATURE,
- CARACAL,
- weight, mingroup, maxgroup // weight/min group size/max group size
- );
- // Стало:
- BiomeModifications.addSpawn(
- selection -> Arrays.stream(biomelist).anyMatch(x -> x.equals(selection.getBiome().getCategory().getName().toUpperCase())),
- SpawnGroup.CREATURE,
- CARACAL,
- weight, mingroup, maxgroup // weight/min group size/max group size
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement