public static class MineshaftPieces.Room extends StructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected MineshaftStructure.Type |
mineShaftType |
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Room(int p_i47137_1_,
java.util.Random p_i47137_2_,
int p_i47137_3_,
int p_i47137_4_,
MineshaftStructure.Type typeIn) |
Room(TemplateManager templateManagerIn,
CompoundNBT nbt) |
Modifier and Type | Method and Description |
---|---|
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand) |
boolean |
func_225577_a_(IWorld p_225577_1_,
ChunkGenerator<?> p_225577_2_,
java.util.Random p_225577_3_,
MutableBoundingBox p_225577_4_,
ChunkPos p_225577_5_) |
protected BlockState |
getFenceBlock() |
protected BlockState |
getPlanksBlock() |
protected boolean |
isSupportingBox(IBlockReader blockReaderIn,
MutableBoundingBox boundsIn,
int xStartIn,
int xEndIn,
int p_189918_5_,
int zIn) |
void |
offset(int x,
int y,
int z) |
protected void |
readAdditional(CompoundNBT tagCompound) |
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, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
protected MineshaftStructure.Type mineShaftType
public Room(int p_i47137_1_, java.util.Random p_i47137_2_, int p_i47137_3_, int p_i47137_4_, MineshaftStructure.Type typeIn)
public Room(TemplateManager templateManagerIn, CompoundNBT nbt)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public boolean func_225577_a_(IWorld p_225577_1_, ChunkGenerator<?> p_225577_2_, java.util.Random p_225577_3_, MutableBoundingBox p_225577_4_, ChunkPos p_225577_5_)
func_225577_a_
in class StructurePiece
public void offset(int x, int y, int z)
offset
in class StructurePiece
protected void readAdditional(CompoundNBT tagCompound)
protected BlockState getPlanksBlock()
protected BlockState getFenceBlock()
protected boolean isSupportingBox(IBlockReader blockReaderIn, MutableBoundingBox boundsIn, int xStartIn, int xEndIn, int p_189918_5_, int zIn)