Package paulevs.edenring.world.generator
Class TerrainGenerator
java.lang.Object
paulevs.edenring.world.generator.TerrainGenerator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfillTerrainDensity(double[] buffer, net.minecraft.core.BlockPos pos, double scaleXZ, double scaleY, float[] floatBuffer) voidfillTerrainDensity(float[] buffer, net.minecraft.core.BlockPos pos, double scaleXZ, double scaleY) floatgetTerrainDensity(int x, int y, int z)
-
Field Details
-
COEF
protected static final float[] COEF -
OFFS
-
-
Constructor Details
-
TerrainGenerator
public TerrainGenerator(long seed)
-
-
Method Details
-
fillTerrainDensity
public void fillTerrainDensity(double[] buffer, net.minecraft.core.BlockPos pos, double scaleXZ, double scaleY, float[] floatBuffer) -
fillTerrainDensity
public void fillTerrainDensity(float[] buffer, net.minecraft.core.BlockPos pos, double scaleXZ, double scaleY) -
getTerrainDensity
public float getTerrainDensity(int x, int y, int z)
-