public static class StrongholdPieces.RoomCrossing extends StructurePiece
修飾子とタイプ | クラスと説明 |
---|---|
static class |
StrongholdPieces.Stronghold.Door |
StructurePiece.BlockSelector
修飾子とタイプ | フィールドと説明 |
---|---|
protected StrongholdPieces.Stronghold.Door |
entryDoor |
protected int |
roomType |
boundingBox, CAVE_AIR, componentType
コンストラクタと説明 |
---|
RoomCrossing(int p_i45575_1_,
java.util.Random p_i45575_2_,
MutableBoundingBox p_i45575_3_,
Direction p_i45575_4_) |
RoomCrossing(TemplateManager p_i50125_1_,
CompoundNBT p_i50125_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.RoomCrossing |
createPiece(java.util.List<StructurePiece> p_175859_0_,
java.util.Random p_175859_1_,
int p_175859_2_,
int p_175859_3_,
int p_175859_4_,
Direction p_175859_5_,
int p_175859_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 final int roomType
protected StrongholdPieces.Stronghold.Door entryDoor
public RoomCrossing(int p_i45575_1_, java.util.Random p_i45575_2_, MutableBoundingBox p_i45575_3_, Direction p_i45575_4_)
public RoomCrossing(TemplateManager p_i50125_1_, CompoundNBT p_i50125_2_)
protected void readAdditional(CompoundNBT tagCompound)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
クラス内 StructurePiece
public static StrongholdPieces.RoomCrossing createPiece(java.util.List<StructurePiece> p_175859_0_, java.util.Random p_175859_1_, int p_175859_2_, int p_175859_3_, int p_175859_4_, Direction p_175859_5_, int p_175859_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 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_)