Package net.minecraft.src
Class ComponentNetherBridgeThrone
java.lang.Object
net.minecraft.src.StructureComponent
net.minecraft.src.ComponentNetherBridgeThrone
-
Field Summary
FieldsFields inherited from class net.minecraft.src.StructureComponent
boundingBox, componentType, coordBaseMode -
Constructor Summary
ConstructorsConstructorDescriptionComponentNetherBridgeThrone(int par1, Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddComponentParts(World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox) second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes Mineshafts at the end, it adds Fences...static ComponentNetherBridgeThronecreateValidComponent(List par0List, Random par1Random, int par2, int par3, int par4, int par5, int par6) Creates and returns a new component piece.protected voidfunc_143011_b(NBTTagCompound par1NBTTagCompound) protected voidfunc_143012_a(NBTTagCompound par1NBTTagCompound) protected StructureComponentgetNextComponentNormal(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, List par2List, Random par3Random, int par4, int par5, boolean par6) Gets the next component in any cardinal directionprotected StructureComponentgetNextComponentX(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, List par2List, Random par3Random, int par4, int par5, boolean par6) Gets the next component in the +/- X directionprotected StructureComponentgetNextComponentZ(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, List par2List, Random par3Random, int par4, int par5, boolean par6) Gets the next component in the +/- Z directionprotected static booleanisAboveGround(StructureBoundingBox par0StructureBoundingBox) Checks if the bounding box's minY is > 10Methods inherited from class net.minecraft.src.StructureComponent
buildComponent, clearCurrentPositionBlocksUpwards, damageContainerItems, fillCurrentPositionBlocksDownwards, fillWithAir, fillWithBlocks, fillWithMetadataBlocks, fillWithRandomizedBlocks, findIntersecting, func_143009_a, func_143010_b, generateStructureChestContents, generateStructureContainerContents, generateStructureDispenserContents, getBlockIdAtCurrentPosition, getBoundingBox, getCenter, getComponentType, getMetadataTwistedWithGen, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeBlockAtCurrentPosition, placeDoorAtCurrentPosition, randomlyFillWithBlocks, randomlyPlaceBlock, randomlyRareFillWithBlocks
-
Field Details
-
field_111019_a
-
-
Constructor Details
-
ComponentNetherBridgeThrone
public ComponentNetherBridgeThrone() -
ComponentNetherBridgeThrone
public ComponentNetherBridgeThrone(int par1, Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
-
-
Method Details
-
func_143011_b
-
func_143012_a
-
createValidComponent
public static ComponentNetherBridgeThrone createValidComponent(List par0List, Random par1Random, int par2, int par3, int par4, int par5, int par6) Creates and returns a new component piece. Or null if it could not find enough room to place it. -
addComponentParts
public boolean addComponentParts(World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox) second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes Mineshafts at the end, it adds Fences...- Specified by:
addComponentPartsin classStructureComponent
-
getNextComponentNormal
protected StructureComponent getNextComponentNormal(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, List par2List, Random par3Random, int par4, int par5, boolean par6) Gets the next component in any cardinal direction -
getNextComponentX
protected StructureComponent getNextComponentX(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, List par2List, Random par3Random, int par4, int par5, boolean par6) Gets the next component in the +/- X direction -
getNextComponentZ
protected StructureComponent getNextComponentZ(ComponentNetherBridgeStartPiece par1ComponentNetherBridgeStartPiece, List par2List, Random par3Random, int par4, int par5, boolean par6) Gets the next component in the +/- Z direction -
isAboveGround
Checks if the bounding box's minY is > 10
-