Class ReplaceThresholdBiomeFilter
java.lang.Object
org.cloudburstmc.server.level.generator.standard.biome.map.complex.AbstractBiomeFilter
org.cloudburstmc.server.level.generator.standard.biome.map.complex.AbstractBiomeFilter.Next
org.cloudburstmc.server.level.generator.standard.biome.map.complex.filter.ReplaceThresholdBiomeFilter
- All Implemented Interfaces:
BiomeFilter
Replaces a specific biome with another one when it and a certain number of its neighbors are that biome.
- 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 TypeFieldDescriptionstatic org.cloudburstmc.api.util.Identifierprotected GenerationBiomeprotected intprotected GenerationBiomeprotected intprotected intFields inherited from class org.cloudburstmc.server.level.generator.standard.biome.map.complex.AbstractBiomeFilter.Next
nextFields 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 -
targetId
protected int targetId -
replacementId
protected int replacementId -
threshold
protected int threshold -
target
-
replacement
-
-
Constructor Details
-
ReplaceThresholdBiomeFilter
public ReplaceThresholdBiomeFilter()
-
-
Method Details
-
init
public void init(long seed, net.daporkchop.lib.random.PRandom random)- Specified by:
initin interfaceBiomeFilter- Overrides:
initin classAbstractBiomeFilter.Next
-
getAllBiomes
-
get
-