Small fix
This commit is contained in:
parent
4877de8fe8
commit
57d478a162
1 changed files with 10 additions and 6 deletions
|
@ -159,15 +159,19 @@ public class EndBiomes {
|
|||
private static void loadFabricAPIBiomes() {
|
||||
WeightedBiomePicker picker = InternalBiomeData.getEndBiomesMap().get(BiomeKeys.SMALL_END_ISLANDS);
|
||||
LayerRandomnessSource random = new BELayerRandomSource();
|
||||
if (picker != null) {
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
RegistryKey<Biome> key = picker.pickRandom(random);
|
||||
FABRIC_VOID.add(key.getValue());
|
||||
}
|
||||
}
|
||||
picker = InternalBiomeData.getEndBiomesMap().get(BiomeKeys.END_BARRENS);
|
||||
if (picker != null) {
|
||||
for (int i = 0; i < 1000; i++) {
|
||||
RegistryKey<Biome> key = picker.pickRandom(random);
|
||||
FABRIC_VOID.add(key.getValue());
|
||||
}
|
||||
}
|
||||
if (BetterEnd.isDevEnvironment()) {
|
||||
System.out.println("Added void biomes from Fabric API:");
|
||||
FABRIC_VOID.forEach((id) -> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue