public static class FortressPieces.Entrance extends StructurePiece
StructurePiece.BlockSelector
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Entrance(int p_i45617_1_,
java.util.Random p_i45617_2_,
MutableBoundingBox p_i45617_3_,
Direction p_i45617_4_) |
Entrance(TemplateManager p_i50276_1_,
CompoundNBT p_i50276_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 FortressPieces.Entrance |
createPiece(java.util.List<StructurePiece> p_175881_0_,
java.util.Random p_175881_1_,
int p_175881_2_,
int p_175881_3_,
int p_175881_4_,
Direction p_175881_5_,
int p_175881_6_) |
protected StructurePiece |
getNextComponentNormal(FortressPieces.Start p_74963_1_,
java.util.List<StructurePiece> p_74963_2_,
java.util.Random p_74963_3_,
int p_74963_4_,
int p_74963_5_,
boolean p_74963_6_) |
protected StructurePiece |
getNextComponentX(FortressPieces.Start p_74961_1_,
java.util.List<StructurePiece> p_74961_2_,
java.util.Random p_74961_3_,
int p_74961_4_,
int p_74961_5_,
boolean p_74961_6_) |
protected StructurePiece |
getNextComponentZ(FortressPieces.Start p_74965_1_,
java.util.List<StructurePiece> p_74965_2_,
java.util.Random p_74965_3_,
int p_74965_4_,
int p_74965_5_,
boolean p_74965_6_) |
protected static boolean |
isAboveGround(MutableBoundingBox p_74964_0_) |
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
public Entrance(int p_i45617_1_, java.util.Random p_i45617_2_, MutableBoundingBox p_i45617_3_, Direction p_i45617_4_)
public Entrance(TemplateManager p_i50276_1_, CompoundNBT p_i50276_2_)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public static FortressPieces.Entrance createPiece(java.util.List<StructurePiece> p_175881_0_, java.util.Random p_175881_1_, int p_175881_2_, int p_175881_3_, int p_175881_4_, Direction p_175881_5_, int p_175881_6_)
public boolean addComponentParts(IWorld worldIn, java.util.Random randomIn, MutableBoundingBox structureBoundingBoxIn, ChunkPos p_74875_4_)
addComponentParts
in class StructurePiece
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class StructurePiece
@Nullable protected StructurePiece getNextComponentNormal(FortressPieces.Start p_74963_1_, java.util.List<StructurePiece> p_74963_2_, java.util.Random p_74963_3_, int p_74963_4_, int p_74963_5_, boolean p_74963_6_)
@Nullable protected StructurePiece getNextComponentX(FortressPieces.Start p_74961_1_, java.util.List<StructurePiece> p_74961_2_, java.util.Random p_74961_3_, int p_74961_4_, int p_74961_5_, boolean p_74961_6_)
@Nullable protected StructurePiece getNextComponentZ(FortressPieces.Start p_74965_1_, java.util.List<StructurePiece> p_74965_2_, java.util.Random p_74965_3_, int p_74965_4_, int p_74965_5_, boolean p_74965_6_)
protected static boolean isAboveGround(MutableBoundingBox p_74964_0_)