Class RandomBiomeFilter
java.lang.Object
org.cloudburstmc.server.level.generator.standard.biome.map.complex.AbstractBiomeFilter
org.cloudburstmc.server.level.generator.standard.biome.map.complex.filter.RandomBiomeFilter
- All Implemented Interfaces:
BiomeFilter
Randomly selects a biome from a pre-defined list.
- Author:
- DaPorkchop_
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cloudburstmc.server.level.generator.standard.biome.map.complex.AbstractBiomeFilter
AbstractBiomeFilter.Next -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int[]protected GenerationBiome[]static org.cloudburstmc.api.util.IdentifierFields inherited from class org.cloudburstmc.server.level.generator.standard.biome.map.complex.AbstractBiomeFilter
seed -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]get(int x, int z, int sizeX, int sizeZ, IntArrayAllocator alloc)voidinit(long seed, net.daporkchop.lib.random.PRandom random)Methods inherited from class org.cloudburstmc.server.level.generator.standard.biome.map.complex.AbstractBiomeFilter
random
-
Field Details
-
ID
public static final org.cloudburstmc.api.util.Identifier ID -
biomeIds
protected int[] biomeIds -
biomes
-
-
Constructor Details
-
RandomBiomeFilter
public RandomBiomeFilter()
-
-
Method Details
-
init
public void init(long seed, net.daporkchop.lib.random.PRandom random)- Specified by:
initin interfaceBiomeFilter- Overrides:
initin classAbstractBiomeFilter
-
getAllBiomes
-
get
-