public static class FortressPieces.Straight extends StructurePiece
StructurePiece.BlockSelector
boundingBox, CAVE_AIR, componentType
コンストラクタと説明 |
---|
Straight(int p_i45620_1_,
java.util.Random p_i45620_2_,
MutableBoundingBox p_i45620_3_,
Direction p_i45620_4_) |
Straight(TemplateManager p_i50283_1_,
CompoundNBT p_i50283_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
|
static FortressPieces.Straight |
createPiece(java.util.List<StructurePiece> p_175882_0_,
java.util.Random p_175882_1_,
int p_175882_2_,
int p_175882_3_,
int p_175882_4_,
Direction p_175882_5_,
int p_175882_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(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_)
Gets the next component in any cardinal direction
|
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_)
Gets the next component in the +/- X direction
|
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_)
Gets the next component in the +/- Z direction
|
protected static boolean |
isAboveGround(MutableBoundingBox p_74964_0_)
Checks if the bounding box's minY is > 10
|
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
public Straight(int p_i45620_1_, java.util.Random p_i45620_2_, MutableBoundingBox p_i45620_3_, Direction p_i45620_4_)
public Straight(TemplateManager p_i50283_1_, CompoundNBT p_i50283_2_)
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
クラス内 StructurePiece
public static FortressPieces.Straight createPiece(java.util.List<StructurePiece> p_175882_0_, java.util.Random p_175882_1_, int p_175882_2_, int p_175882_3_, int p_175882_4_, Direction p_175882_5_, int p_175882_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
@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_)