Package net.minecraft.src
Class ComponentStrongholdRightTurn
java.lang.Object
net.minecraft.src.StructureComponent
net.minecraft.src.ComponentStrongholdLeftTurn
net.minecraft.src.ComponentStrongholdRightTurn
-
Field Summary
FieldsFields inherited from class net.minecraft.src.StructureComponent
boundingBox, componentType, coordBaseMode -
Constructor Summary
ConstructorsConstructorDescriptionComponentStrongholdRightTurn(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...voidbuildComponent(StructureComponent par1StructureComponent, List par2List, Random par3Random) Initiates construction of the Structure Component picked, at the current Location of StructGenprotected static booleancanStrongholdGoDeeper(StructureBoundingBox par0StructureBoundingBox) returns false if the Structure Bounding Box goes below 10protected voidfunc_143011_b(NBTTagCompound par1NBTTagCompound) protected voidfunc_143012_a(NBTTagCompound par1NBTTagCompound) protected StructureComponentgetNextComponentNormal(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) Gets the next component in any cardinal directionprotected StructureComponentgetNextComponentX(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) Gets the next component in the +/- X directionprotected StructureComponentgetNextComponentZ(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) Gets the next component in the +/- Z directionprotected EnumDoorgetRandomDoor(Random par1Random) protected voidplaceDoor(World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox, EnumDoor par4EnumDoor, int par5, int par6, int par7) builds a door of the enumerated types (empty opening is a door)Methods inherited from class net.minecraft.src.ComponentStrongholdLeftTurn
findValidPlacementMethods inherited from class net.minecraft.src.StructureComponent
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_143013_d
-
-
Constructor Details
-
ComponentStrongholdRightTurn
public ComponentStrongholdRightTurn(int par1, Random par2Random, StructureBoundingBox par3StructureBoundingBox, int par4)
-
-
Method Details
-
buildComponent
public void buildComponent(StructureComponent par1StructureComponent, List par2List, Random par3Random) Initiates construction of the Structure Component picked, at the current Location of StructGen- Overrides:
buildComponentin classComponentStrongholdLeftTurn
-
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...- Overrides:
addComponentPartsin classComponentStrongholdLeftTurn
-
func_143012_a
- Specified by:
func_143012_ain classStructureComponent
-
func_143011_b
- Specified by:
func_143011_bin classStructureComponent
-
placeDoor
protected void placeDoor(World par1World, Random par2Random, StructureBoundingBox par3StructureBoundingBox, EnumDoor par4EnumDoor, int par5, int par6, int par7) builds a door of the enumerated types (empty opening is a door) -
getRandomDoor
-
getNextComponentNormal
protected StructureComponent getNextComponentNormal(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) Gets the next component in any cardinal direction -
getNextComponentX
protected StructureComponent getNextComponentX(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) Gets the next component in the +/- X direction -
getNextComponentZ
protected StructureComponent getNextComponentZ(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, List par2List, Random par3Random, int par4, int par5) Gets the next component in the +/- Z direction -
canStrongholdGoDeeper
returns false if the Structure Bounding Box goes below 10
-