public static class MineshaftPieces.Cross extends StructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected MineshaftStructure.Type |
mineShaftType |
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Cross(int p_i50455_1_,
MutableBoundingBox p_i50455_2_,
Direction p_i50455_3_,
MineshaftStructure.Type p_i50455_4_) |
Cross(TemplateManager p_i50454_1_,
CompoundNBT p_i50454_2_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(IWorld worldIn,
java.util.Random randomIn,
MutableBoundingBox structureBoundingBoxIn,
ChunkPos p_74875_4_) |
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand) |
static MutableBoundingBox |
findCrossing(java.util.List<StructurePiece> listIn,
java.util.Random rand,
int x,
int y,
int z,
Direction facing) |
protected BlockState |
getFenceBlock() |
protected BlockState |
getPlanksBlock() |
protected boolean |
isSupportingBox(IBlockReader p_189918_1_,
MutableBoundingBox p_189918_2_,
int p_189918_3_,
int p_189918_4_,
int p_189918_5_,
int p_189918_6_) |
protected void |
readAdditional(CompoundNBT tagCompound) |
createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, func_214807_k, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
protected MineshaftStructure.Type mineShaftType
public Cross(TemplateManager p_i50454_1_, CompoundNBT p_i50454_2_)
public Cross(int p_i50455_1_, MutableBoundingBox p_i50455_2_, @Nullable Direction p_i50455_3_, MineshaftStructure.Type p_i50455_4_)
protected void readAdditional(CompoundNBT tagCompound)
public static MutableBoundingBox findCrossing(java.util.List<StructurePiece> listIn, java.util.Random rand, int x, int y, int z, Direction facing)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public boolean addComponentParts(IWorld worldIn, java.util.Random randomIn, MutableBoundingBox structureBoundingBoxIn, ChunkPos p_74875_4_)
addComponentParts
in class StructurePiece
protected BlockState getPlanksBlock()
protected BlockState getFenceBlock()
protected boolean isSupportingBox(IBlockReader p_189918_1_, MutableBoundingBox p_189918_2_, int p_189918_3_, int p_189918_4_, int p_189918_5_, int p_189918_6_)