public static class StructureNetherBridgePieces.End extends StructureComponent
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected static java.util.List<WeightedRandomChestContent> |
field_111019_a |
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
End() |
End(int p_i45621_1_,
java.util.Random p_i45621_2_,
StructureBoundingBox p_i45621_3_,
EnumFacing p_i45621_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn)
second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes
Mineshafts at the end, it adds Fences...
|
static StructureNetherBridgePieces.End |
func_175884_a(java.util.List<StructureComponent> p_175884_0_,
java.util.Random p_175884_1_,
int p_175884_2_,
int p_175884_3_,
int p_175884_4_,
EnumFacing p_175884_5_,
int p_175884_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_)
Gets the next component in any cardinal direction
|
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_)
Gets the next component in the +/- X direction
|
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_)
Gets the next component in the +/- Z direction
|
protected static boolean |
isAboveGround(StructureBoundingBox p_74964_0_)
Checks if the bounding box's minY is > 10
|
protected void |
readStructureFromNBT(NBTTagCompound tagCompound)
(abstract) Helper method to read subclass data from NBT
|
protected void |
writeStructureToNBT(NBTTagCompound tagCompound)
(abstract) Helper method to write subclass data to NBT
|
buildComponent, clearCurrentPositionBlocksUpwards, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_175805_a, func_181138_a, generateChestContents, generateDispenserContents, getBlockStateFromPos, getBoundingBox, getBoundingBoxCenter, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeDoorCurrentPosition, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState
protected static final java.util.List<WeightedRandomChestContent> field_111019_a
public End()
public End(int p_i45621_1_, java.util.Random p_i45621_2_, StructureBoundingBox p_i45621_3_, EnumFacing p_i45621_4_)
public static StructureNetherBridgePieces.End func_175884_a(java.util.List<StructureComponent> p_175884_0_, java.util.Random p_175884_1_, int p_175884_2_, int p_175884_3_, int p_175884_4_, EnumFacing p_175884_5_, int p_175884_6_)
protected void readStructureFromNBT(NBTTagCompound tagCompound)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
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_)