public abstract static class StrongholdPieces.Turn extends StructurePiece
修飾子とタイプ | クラスと説明 |
---|---|
static class |
StrongholdPieces.Stronghold.Door |
StructurePiece.BlockSelector
修飾子とタイプ | フィールドと説明 |
---|---|
protected StrongholdPieces.Stronghold.Door |
entryDoor |
boundingBox, CAVE_AIR, componentType
修飾子 | コンストラクタと説明 |
---|---|
|
Turn(IStructurePieceType p_i50109_1_,
CompoundNBT p_i50109_2_) |
protected |
Turn(IStructurePieceType p_i50108_1_,
int p_i50108_2_) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected static boolean |
canStrongholdGoDeeper(MutableBoundingBox p_74991_0_)
returns false if the Structure Bounding Box goes below 10
|
protected StructurePiece |
getNextComponentNormal(StrongholdPieces.Stairs2 p_74986_1_,
java.util.List<StructurePiece> p_74986_2_,
java.util.Random p_74986_3_,
int p_74986_4_,
int p_74986_5_)
Gets the next component in any cardinal direction
|
protected StructurePiece |
getNextComponentX(StrongholdPieces.Stairs2 p_74989_1_,
java.util.List<StructurePiece> p_74989_2_,
java.util.Random p_74989_3_,
int p_74989_4_,
int p_74989_5_)
Gets the next component in the +/- X direction
|
protected StructurePiece |
getNextComponentZ(StrongholdPieces.Stairs2 p_74987_1_,
java.util.List<StructurePiece> p_74987_2_,
java.util.Random p_74987_3_,
int p_74987_4_,
int p_74987_5_)
Gets the next component in the +/- Z direction
|
protected StrongholdPieces.Stronghold.Door |
getRandomDoor(java.util.Random p_74988_1_) |
protected void |
placeDoor(IWorld worldIn,
java.util.Random p_74990_2_,
MutableBoundingBox p_74990_3_,
StrongholdPieces.Stronghold.Door p_74990_4_,
int p_74990_5_,
int p_74990_6_,
int p_74990_7_)
builds a door of the enumerated types (empty opening is a door)
|
protected void |
readAdditional(CompoundNBT tagCompound)
(abstract) Helper method to read subclass data from NBT
|
buildComponent, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, func_214810_a, func_225577_a_, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
protected StrongholdPieces.Stronghold.Door entryDoor
protected Turn(IStructurePieceType p_i50108_1_, int p_i50108_2_)
public Turn(IStructurePieceType p_i50109_1_, CompoundNBT p_i50109_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
クラス内 StructurePiece
protected void placeDoor(IWorld worldIn, java.util.Random p_74990_2_, MutableBoundingBox p_74990_3_, StrongholdPieces.Stronghold.Door p_74990_4_, int p_74990_5_, int p_74990_6_, int p_74990_7_)
protected StrongholdPieces.Stronghold.Door getRandomDoor(java.util.Random p_74988_1_)
@Nullable protected StructurePiece getNextComponentNormal(StrongholdPieces.Stairs2 p_74986_1_, java.util.List<StructurePiece> p_74986_2_, java.util.Random p_74986_3_, int p_74986_4_, int p_74986_5_)
@Nullable protected StructurePiece getNextComponentX(StrongholdPieces.Stairs2 p_74989_1_, java.util.List<StructurePiece> p_74989_2_, java.util.Random p_74989_3_, int p_74989_4_, int p_74989_5_)
@Nullable protected StructurePiece getNextComponentZ(StrongholdPieces.Stairs2 p_74987_1_, java.util.List<StructurePiece> p_74987_2_, java.util.Random p_74987_3_, int p_74987_4_, int p_74987_5_)
protected static boolean canStrongholdGoDeeper(MutableBoundingBox p_74991_0_)