Class CachedChunkData.Builder
java.lang.Object
net.buildtheearth.terraminusminus.util.CustomAttributeContainer
net.buildtheearth.terraminusminus.generator.CachedChunkData.Builder
- All Implemented Interfaces:
IEarthAsyncDataBuilder<CachedChunkData>
- Enclosing class:
CachedChunkData
public static final class CachedChunkData.Builder
extends CustomAttributeContainer
implements IEarthAsyncDataBuilder<CachedChunkData>
Builder class for
CachedChunkData.-
Field Summary
FieldsFields inherited from class net.buildtheearth.terraminusminus.util.CustomAttributeContainer
custom -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBiome[]biomes()build()voidreset()int[]intsurfaceHeight(int x, int z) surfaceHeight(int x, int z, int value) updateOceanDepth(int x, int z, int depth) updateWaterDepth(int x, int z, int depth) byte[]Methods inherited from class net.buildtheearth.terraminusminus.util.CustomAttributeContainer
getCustom, getCustom
-
Field Details
-
surfaceBlocks
-
-
Constructor Details
-
Builder
Deprecated.useCachedChunkData.builder()unless you have a specific reason to invoke this constructor directly
-
-
Method Details
-
surfaceHeight
-
updateWaterDepth
-
updateOceanDepth
-
surfaceHeight
public int surfaceHeight(int x, int z) -
putCustom
-
reset
-
build
- Specified by:
buildin interfaceIEarthAsyncDataBuilder<CachedChunkData>- Returns:
- the built value
-
surfaceHeight
public int[] surfaceHeight() -
waterDepth
public byte[] waterDepth() -
biomes
-
surfaceBlocks
-
CachedChunkData.builder()unless you have a specific reason to invoke this constructor directly