BiomePicker mixin
This commit is contained in:
parent
46c6e9b936
commit
3bc88af019
6 changed files with 62 additions and 43 deletions
|
@ -1,20 +0,0 @@
|
|||
package ru.betterend.world.generator;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import net.minecraft.util.math.noise.PerlinNoiseSampler;
|
||||
import net.minecraft.world.biome.layer.util.LayerRandomnessSource;
|
||||
|
||||
public class BELayerRandomSource implements LayerRandomnessSource {
|
||||
private Random random = new Random(0);
|
||||
|
||||
@Override
|
||||
public int nextInt(int bound) {
|
||||
return random.nextInt(bound);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PerlinNoiseSampler getNoiseSampler() {
|
||||
return null;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue