public class ComponentNetherBridgeStartPiece extends ComponentNetherBridgeCrossing3
Modifier and Type | Field and Description |
---|---|
protected static WeightedRandomChestContent[] |
field_111019_a |
java.util.ArrayList |
field_74967_d |
java.util.List |
primaryWeights
Contains the list of valid piece weights for the set of nether bridge structure pieces.
|
java.util.List |
secondaryWeights
Contains the list of valid piece weights for the secondary set of nether bridge structure pieces.
|
net.minecraft.world.gen.structure.StructureNetherBridgePieceWeight |
theNetherBridgePieceWeight
Instance of StructureNetherBridgePieceWeight.
|
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
ComponentNetherBridgeStartPiece() |
ComponentNetherBridgeStartPiece(java.util.Random par1Random,
int par2,
int par3) |
Modifier and Type | Method and Description |
---|---|
protected void |
func_143011_b(NBTTagCompound par1NBTTagCompound) |
protected void |
func_143012_a(NBTTagCompound par1NBTTagCompound) |
protected StructureComponent |
getNextComponentNormal(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5,
boolean par6)
Gets the next component in any cardinal direction
|
protected StructureComponent |
getNextComponentX(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5,
boolean par6)
Gets the next component in the +/- X direction
|
protected StructureComponent |
getNextComponentZ(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5,
boolean par6)
Gets the next component in the +/- Z direction
|
protected static boolean |
isAboveGround(StructureBoundingBox par0StructureBoundingBox)
Checks if the bounding box's minY is > 10
|
addComponentParts, buildComponent, createValidComponent
clearCurrentPositionBlocksUpwards, fillCurrentPositionBlocksDownwards, fillWithAir, fillWithBlocks, fillWithMetadataBlocks, fillWithRandomizedBlocks, findIntersecting, func_143009_a, func_143010_b, generateStructureChestContents, generateStructureDispenserContents, getBlockIdAtCurrentPosition, getBoundingBox, getCenter, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeBlockAtCurrentPosition, placeDoorAtCurrentPosition, randomlyFillWithBlocks, randomlyPlaceBlock, randomlyRareFillWithBlocks
public net.minecraft.world.gen.structure.StructureNetherBridgePieceWeight theNetherBridgePieceWeight
public java.util.List primaryWeights
public java.util.List secondaryWeights
public java.util.ArrayList field_74967_d
protected static final WeightedRandomChestContent[] field_111019_a
public ComponentNetherBridgeStartPiece()
public ComponentNetherBridgeStartPiece(java.util.Random par1Random, int par2, int par3)
protected void func_143011_b(NBTTagCompound par1NBTTagCompound)
protected void func_143012_a(NBTTagCompound par1NBTTagCompound)
protected StructureComponent getNextComponentNormal(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected StructureComponent getNextComponentX(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected StructureComponent getNextComponentZ(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, java.util.List par2List, java.util.Random par3Random, int par4, int par5, boolean par6)
protected static boolean isAboveGround(StructureBoundingBox par0StructureBoundingBox)