public abstract class WorldFeaturePieceQuarterSymmetrical
extends net.minecraft.world.gen.feature.structure.ScatteredStructurePiece
| Modifier and Type | Class and Description |
|---|---|
class |
WorldFeaturePieceQuarterSymmetrical.BlockWrapper
This is a wrapper class, which wraps around a
Block and
pairs with it the metadata for that specific blockState instance. |
static interface |
WorldFeaturePieceQuarterSymmetrical.IBlockAction |
| Modifier | Constructor and Description |
|---|---|
protected |
WorldFeaturePieceQuarterSymmetrical(net.minecraft.world.gen.feature.structure.IStructurePieceType structurePieceTypeIn,
net.minecraft.nbt.CompoundNBT nbt) |
protected |
WorldFeaturePieceQuarterSymmetrical(net.minecraft.world.gen.feature.structure.IStructurePieceType structurePieceTypeIn,
java.util.Random rand,
int xIn,
int yIn,
int zIn,
int widthIn,
int heightIn,
int depthIn) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLayer(int height,
WorldFeaturePieceQuarterSymmetrical.BlockWrapper[] layer) |
protected void |
buildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
int incX,
int incZ) |
boolean |
func_225577_a_(net.minecraft.world.IWorld world,
net.minecraft.world.gen.ChunkGenerator<?> chunkGenerator,
java.util.Random rand,
net.minecraft.util.math.MutableBoundingBox bounds,
net.minecraft.util.math.ChunkPos chunkPos) |
protected abstract void |
generateLayers() |
protected abstract int |
getQuarterHeight() |
protected abstract int |
getQuarterWidth() |
protected void |
postBuildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
int incX,
int incZ) |
isInsideBounds, readAdditionalbuildComponent, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, writeprotected WorldFeaturePieceQuarterSymmetrical(net.minecraft.world.gen.feature.structure.IStructurePieceType structurePieceTypeIn,
java.util.Random rand,
int xIn,
int yIn,
int zIn,
int widthIn,
int heightIn,
int depthIn)
protected WorldFeaturePieceQuarterSymmetrical(net.minecraft.world.gen.feature.structure.IStructurePieceType structurePieceTypeIn,
net.minecraft.nbt.CompoundNBT nbt)
protected abstract int getQuarterWidth()
protected abstract int getQuarterHeight()
protected abstract void generateLayers()
protected void addLayer(int height,
WorldFeaturePieceQuarterSymmetrical.BlockWrapper[] layer)
protected void buildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
int incX,
int incZ)
protected void postBuildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
int incX,
int incZ)
public boolean func_225577_a_(net.minecraft.world.IWorld world,
net.minecraft.world.gen.ChunkGenerator<?> chunkGenerator,
java.util.Random rand,
net.minecraft.util.math.MutableBoundingBox bounds,
net.minecraft.util.math.ChunkPos chunkPos)
func_225577_a_ in class net.minecraft.world.gen.feature.structure.StructurePiece