public static class StructureNetherBridgePieces.Straight extends StructureComponent
StructureComponent.BlockSelector
boundingBox, componentType
Constructor and Description |
---|
Straight() |
Straight(int p_i45620_1_,
java.util.Random p_i45620_2_,
StructureBoundingBox p_i45620_3_,
EnumFacing p_i45620_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn) |
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand) |
static StructureNetherBridgePieces.Straight |
createPiece(java.util.List<StructureComponent> p_175882_0_,
java.util.Random p_175882_1_,
int p_175882_2_,
int p_175882_3_,
int p_175882_4_,
EnumFacing p_175882_5_,
int p_175882_6_) |
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_) |
protected static boolean |
isAboveGround(StructureBoundingBox p_74964_0_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
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
public Straight()
public Straight(int p_i45620_1_, java.util.Random p_i45620_2_, StructureBoundingBox p_i45620_3_, EnumFacing p_i45620_4_)
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent
in class StructureComponent
public static StructureNetherBridgePieces.Straight createPiece(java.util.List<StructureComponent> p_175882_0_, java.util.Random p_175882_1_, int p_175882_2_, int p_175882_3_, int p_175882_4_, EnumFacing p_175882_5_, int p_175882_6_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructureComponent
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureComponent
@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_)