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 net.minecraft.block.Block |
defaultBlock |
protected net.minecraft.block.BlockDynamicLiquid |
defaultFlowing |
protected net.minecraft.block.BlockStaticLiquid |
defaultFluid |
| Modifier | Constructor and Description |
|---|---|
|
MapGenBetaCave() |
|
MapGenBetaCave(ChunkSource chunkSource,
ModernBetaGeneratorSettings settings) |
protected |
MapGenBetaCave(net.minecraft.block.state.IBlockState defaultBlock,
net.minecraft.block.state.IBlockState defaultFluid,
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) |
protected int |
getBaseCaveCount() |
protected int |
getBaseCaveHeight() |
protected int |
getCaveY(java.util.Random random) |
protected int |
getRegionalCaveChance() |
protected float |
getTunnelSystemWidth(java.util.Random random) |
protected double |
getTunnelWHRatio() |
protected void |
recursiveGenerate(net.minecraft.world.World world,
int chunkX,
int chunkZ,
int originChunkX,
int originChunkZ,
net.minecraft.world.chunk.ChunkPrimer chunkPrimer) |
protected final net.minecraft.block.Block defaultBlock
protected final net.minecraft.block.BlockStaticLiquid defaultFluid
protected final net.minecraft.block.BlockDynamicLiquid defaultFlowing
protected final java.util.Set<net.minecraft.block.Block> carvables
public MapGenBetaCave(ChunkSource chunkSource, ModernBetaGeneratorSettings settings)
public MapGenBetaCave()
protected MapGenBetaCave(net.minecraft.block.state.IBlockState defaultBlock,
net.minecraft.block.state.IBlockState defaultFluid,
int caveHeight,
int caveCount,
int caveChance)
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 int getBaseCaveHeight()
protected int getBaseCaveCount()
protected int getRegionalCaveChance()
protected int getCaveY(java.util.Random random)
protected float getTunnelSystemWidth(java.util.Random random)
protected double getTunnelWHRatio()
protected 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)