abstract static class FortressPieces.Piece extends StructurePiece
StructurePiece.BlockSelector
boundingBox, CAVE_AIR, componentType
Modifier | Constructor and Description |
---|---|
|
Piece(IStructurePieceType p_i50261_1_,
CompoundNBT p_i50261_2_) |
protected |
Piece(IStructurePieceType p_i50260_1_,
int p_i50260_2_) |
Modifier and Type | Method and Description |
---|---|
private StructurePiece |
generateAndAddPiece(FortressPieces.Start p_175870_1_,
java.util.List<StructurePiece> p_175870_2_,
java.util.Random p_175870_3_,
int p_175870_4_,
int p_175870_5_,
int p_175870_6_,
Direction p_175870_7_,
int p_175870_8_,
boolean p_175870_9_) |
private FortressPieces.Piece |
generatePiece(FortressPieces.Start p_175871_1_,
java.util.List<FortressPieces.PieceWeight> p_175871_2_,
java.util.List<StructurePiece> p_175871_3_,
java.util.Random p_175871_4_,
int p_175871_5_,
int p_175871_6_,
int p_175871_7_,
Direction p_175871_8_,
int p_175871_9_) |
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_) |
private int |
getTotalWeight(java.util.List<FortressPieces.PieceWeight> p_74960_1_) |
protected static boolean |
isAboveGround(MutableBoundingBox p_74964_0_) |
protected void |
readAdditional(CompoundNBT tagCompound) |
buildComponent, correctFacing, create, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, 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 Piece(IStructurePieceType p_i50260_1_, int p_i50260_2_)
public Piece(IStructurePieceType p_i50261_1_, CompoundNBT p_i50261_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class StructurePiece
private int getTotalWeight(java.util.List<FortressPieces.PieceWeight> p_74960_1_)
private FortressPieces.Piece generatePiece(FortressPieces.Start p_175871_1_, java.util.List<FortressPieces.PieceWeight> p_175871_2_, java.util.List<StructurePiece> p_175871_3_, java.util.Random p_175871_4_, int p_175871_5_, int p_175871_6_, int p_175871_7_, Direction p_175871_8_, int p_175871_9_)
private StructurePiece generateAndAddPiece(FortressPieces.Start p_175870_1_, java.util.List<StructurePiece> p_175870_2_, java.util.Random p_175870_3_, int p_175870_4_, int p_175870_5_, int p_175870_6_, @Nullable Direction p_175870_7_, int p_175870_8_, boolean p_175870_9_)
@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_)