public class MapGenBetaCave
extends net.minecraft.world.gen.MapGenBase
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Set<net.minecraft.block.Block> |
carvables |
protected int |
caveChance |
protected int |
caveCount |
protected int |
caveHeight |
protected float |
caveWidth |
protected net.minecraft.block.Block |
defaultBlock |
protected net.minecraft.block.Block |
defaultFill |
protected java.util.Set<net.minecraft.block.Block> |
defaultFluids |
protected java.util.Random |
featureRandom |
protected static int |
LAVA_LEVEL |
protected java.util.Random |
tunnelRandom |
| Modifier | Constructor and Description |
|---|---|
|
MapGenBetaCave() |
|
MapGenBetaCave(ChunkSource chunkSource,
ModernBetaGeneratorSettings settings) |
protected |
MapGenBetaCave(net.minecraft.block.state.IBlockState defaultBlock,
net.minecraft.block.state.IBlockState defaultFluid,
net.minecraft.block.state.IBlockState defaultFill,
float caveWidth,
int caveHeight,
int caveCount,
int caveChance) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canCarveBranch(int mainChunkX,
int mainChunkZ,
double x,
double z,
int branch,
int branchCount,
float baseWidth) |
protected void |
carveAtPoint(net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
int localX,
int localY,
int localZ,
net.minecraft.block.Block block,
boolean isGrassBlock) |
protected boolean |
carveRegion(net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
long seed,
int seaLevel,
int chunkX,
int chunkZ,
double x,
double y,
double z,
double yaw,
double pitch) |
void |
generate(net.minecraft.world.World world,
int originChunkX,
int originChunkZ,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer) |
void |
generate(net.minecraft.world.World world,
int originChunkX,
int originChunkZ,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
net.minecraft.world.biome.Biome[] biomes,
java.util.List<net.minecraft.world.gen.structure.StructureComponent> structureComponents) |
protected float |
getBaseTunnelSystemWidth(java.util.Random random) |
protected int |
getCaveY(java.util.Random random) |
static java.util.Set<net.minecraft.block.Block> |
getDefaultFluids(net.minecraft.block.state.IBlockState defaultFluid) |
protected float |
getTunnelSystemWidth(java.util.Random random,
java.util.Random tunnelRandom) |
protected double |
getTunnelWHRatio() |
protected float |
getTunnelWidthMultiplier(java.util.Random random) |
protected com.google.common.collect.ImmutableSet.Builder<net.minecraft.block.Block> |
initializeCarvables(net.minecraft.block.Block defaultBlock) |
protected void |
recursiveGenerate(net.minecraft.world.World world,
int chunkX,
int chunkZ,
int originChunkX,
int originChunkZ,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer) |
protected void |
setRandoms(long chunkSeed) |
protected static final int LAVA_LEVEL
protected final net.minecraft.block.Block defaultBlock
protected final java.util.Set<net.minecraft.block.Block> defaultFluids
protected final net.minecraft.block.Block defaultFill
protected final java.util.Set<net.minecraft.block.Block> carvables
protected final java.util.Random tunnelRandom
protected final java.util.Random featureRandom
protected final float caveWidth
protected final int caveHeight
protected final int caveCount
protected final int caveChance
public MapGenBetaCave(ChunkSource chunkSource, ModernBetaGeneratorSettings settings)
public MapGenBetaCave()
protected MapGenBetaCave(net.minecraft.block.state.IBlockState defaultBlock,
net.minecraft.block.state.IBlockState defaultFluid,
net.minecraft.block.state.IBlockState defaultFill,
float caveWidth,
int caveHeight,
int caveCount,
int caveChance)
public void generate(net.minecraft.world.World world,
int originChunkX,
int originChunkZ,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
net.minecraft.world.biome.Biome[] biomes,
java.util.List<net.minecraft.world.gen.structure.StructureComponent> structureComponents)
public void generate(net.minecraft.world.World world,
int originChunkX,
int originChunkZ,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer)
generate in class net.minecraft.world.gen.MapGenBaseprotected void recursiveGenerate(net.minecraft.world.World world,
int chunkX,
int chunkZ,
int originChunkX,
int originChunkZ,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer)
recursiveGenerate in class net.minecraft.world.gen.MapGenBaseprotected boolean canCarveBranch(int mainChunkX,
int mainChunkZ,
double x,
double z,
int branch,
int branchCount,
float baseWidth)
protected boolean carveRegion(net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
long seed,
int seaLevel,
int chunkX,
int chunkZ,
double x,
double y,
double z,
double yaw,
double pitch)
protected void carveAtPoint(net.minecraft.world.chunk.ChunkPrimer chunkPrimer,
int localX,
int localY,
int localZ,
net.minecraft.block.Block block,
boolean isGrassBlock)
protected int getCaveY(java.util.Random random)
protected float getTunnelSystemWidth(java.util.Random random,
java.util.Random tunnelRandom)
protected double getTunnelWHRatio()
protected final float getTunnelWidthMultiplier(java.util.Random random)
protected final float getBaseTunnelSystemWidth(java.util.Random random)
protected final void setRandoms(long chunkSeed)
protected com.google.common.collect.ImmutableSet.Builder<net.minecraft.block.Block> initializeCarvables(net.minecraft.block.Block defaultBlock)
public static java.util.Set<net.minecraft.block.Block> getDefaultFluids(net.minecraft.block.state.IBlockState defaultFluid)