public static class StrongholdPieces.RightTurn extends StrongholdPieces.Turn
修飾子とタイプ | クラスと説明 |
---|---|
static class |
StrongholdPieces.Stronghold.Door |
StructurePiece.BlockSelector
修飾子とタイプ | フィールドと説明 |
---|---|
protected StrongholdPieces.Stronghold.Door |
entryDoor |
boundingBox, CAVE_AIR, componentType
コンストラクタと説明 |
---|
RightTurn(int p_i50127_1_,
java.util.Random p_i50127_2_,
MutableBoundingBox p_i50127_3_,
Direction p_i50127_4_) |
RightTurn(TemplateManager p_i50128_1_,
CompoundNBT p_i50128_2_) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand)
Initiates construction of the Structure Component picked, at the current Location of StructGen
|
protected static boolean |
canStrongholdGoDeeper(MutableBoundingBox p_74991_0_)
returns false if the Structure Bounding Box goes below 10
|
static StrongholdPieces.RightTurn |
func_214824_a(java.util.List<StructurePiece> p_214824_0_,
java.util.Random p_214824_1_,
int p_214824_2_,
int p_214824_3_,
int p_214824_4_,
Direction p_214824_5_,
int p_214824_6_) |
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 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
|
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, write
protected StrongholdPieces.Stronghold.Door entryDoor
public RightTurn(int p_i50127_1_, java.util.Random p_i50127_2_, MutableBoundingBox p_i50127_3_, Direction p_i50127_4_)
public RightTurn(TemplateManager p_i50128_1_, CompoundNBT p_i50128_2_)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
クラス内 StructurePiece
public static StrongholdPieces.RightTurn func_214824_a(java.util.List<StructurePiece> p_214824_0_, java.util.Random p_214824_1_, int p_214824_2_, int p_214824_3_, int p_214824_4_, Direction p_214824_5_, int p_214824_6_)
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_
クラス内 StructurePiece
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_)