Class ChunkBiomesBuilder
java.lang.Object
net.buildtheearth.terracore.worldgen.generator.ChunkBiomesBuilder
- All Implemented Interfaces:
IEarthAsyncDataBuilder<ImmutableCompactArray<net.buildtheearth.terracore.minecraft.Biome>>
public class ChunkBiomesBuilder
extends Object
implements IEarthAsyncDataBuilder<ImmutableCompactArray<net.buildtheearth.terracore.minecraft.Biome>>
Builds a 16x16 area of chunks.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.buildtheearth.terracore.minecraft.Biome[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionImmutableCompactArray<net.buildtheearth.terracore.minecraft.Biome> build()static ChunkBiomesBuilderget()net.buildtheearth.terracore.minecraft.Biomeget(int x, int z) reset()Resets this builder instance so that it may be used again.set(int x, int z, net.buildtheearth.terracore.minecraft.Biome biome) net.buildtheearth.terracore.minecraft.Biome[]state()
-
Field Details
-
state
protected final net.buildtheearth.terracore.minecraft.Biome[] state
-
-
Constructor Details
-
ChunkBiomesBuilder
public ChunkBiomesBuilder()
-
-
Method Details
-
get
-
get
public net.buildtheearth.terracore.minecraft.Biome get(int x, int z) -
set
-
reset
Resets this builder instance so that it may be used again. -
build
- Specified by:
buildin interfaceIEarthAsyncDataBuilder<ImmutableCompactArray<net.buildtheearth.terracore.minecraft.Biome>>- Returns:
- the array of biomes in this chunk
-
state
public net.buildtheearth.terracore.minecraft.Biome[] state()
-