abstract static class StructureNetherBridgePieces.Piece extends StructureComponent
StructureComponent.BlockSelector
boundingBox, componentType
Modifier | Constructor and Description |
---|---|
|
Piece() |
protected |
Piece(int p_i2054_1_) |
Modifier and Type | Method and Description |
---|---|
private StructureComponent |
generateAndAddPiece(StructureNetherBridgePieces.Start p_175870_1_,
java.util.List<StructureComponent> p_175870_2_,
java.util.Random p_175870_3_,
int p_175870_4_,
int p_175870_5_,
int p_175870_6_,
EnumFacing p_175870_7_,
int p_175870_8_,
boolean p_175870_9_) |
private StructureNetherBridgePieces.Piece |
generatePiece(StructureNetherBridgePieces.Start p_175871_1_,
java.util.List<StructureNetherBridgePieces.PieceWeight> p_175871_2_,
java.util.List<StructureComponent> p_175871_3_,
java.util.Random p_175871_4_,
int p_175871_5_,
int p_175871_6_,
int p_175871_7_,
EnumFacing p_175871_8_,
int p_175871_9_) |
protected StructureComponent |
getNextComponentNormal(StructureNetherBridgePieces.Start p_74963_1_,
java.util.List<StructureComponent> p_74963_2_,
java.util.Random p_74963_3_,
int p_74963_4_,
int p_74963_5_,
boolean p_74963_6_) |
protected StructureComponent |
getNextComponentX(StructureNetherBridgePieces.Start p_74961_1_,
java.util.List<StructureComponent> p_74961_2_,
java.util.Random p_74961_3_,
int p_74961_4_,
int p_74961_5_,
boolean p_74961_6_) |
protected StructureComponent |
getNextComponentZ(StructureNetherBridgePieces.Start p_74965_1_,
java.util.List<StructureComponent> 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<StructureNetherBridgePieces.PieceWeight> p_74960_1_) |
protected static boolean |
isAboveGround(StructureBoundingBox p_74964_0_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
addComponentParts, buildComponent, clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructureComponent
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureComponent
private int getTotalWeight(java.util.List<StructureNetherBridgePieces.PieceWeight> p_74960_1_)
private StructureNetherBridgePieces.Piece generatePiece(StructureNetherBridgePieces.Start p_175871_1_, java.util.List<StructureNetherBridgePieces.PieceWeight> p_175871_2_, java.util.List<StructureComponent> p_175871_3_, java.util.Random p_175871_4_, int p_175871_5_, int p_175871_6_, int p_175871_7_, EnumFacing p_175871_8_, int p_175871_9_)
private StructureComponent generateAndAddPiece(StructureNetherBridgePieces.Start p_175870_1_, java.util.List<StructureComponent> p_175870_2_, java.util.Random p_175870_3_, int p_175870_4_, int p_175870_5_, int p_175870_6_, @Nullable EnumFacing p_175870_7_, int p_175870_8_, boolean p_175870_9_)
@Nullable protected StructureComponent getNextComponentNormal(StructureNetherBridgePieces.Start p_74963_1_, java.util.List<StructureComponent> p_74963_2_, java.util.Random p_74963_3_, int p_74963_4_, int p_74963_5_, boolean p_74963_6_)
@Nullable protected StructureComponent getNextComponentX(StructureNetherBridgePieces.Start p_74961_1_, java.util.List<StructureComponent> p_74961_2_, java.util.Random p_74961_3_, int p_74961_4_, int p_74961_5_, boolean p_74961_6_)
@Nullable protected StructureComponent getNextComponentZ(StructureNetherBridgePieces.Start p_74965_1_, java.util.List<StructureComponent> 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(StructureBoundingBox p_74964_0_)