public class ComponentStrongholdStairs2 extends ComponentStrongholdStairs
Modifier and Type | Field and Description |
---|---|
protected EnumDoor |
field_143013_d |
java.util.List |
field_75026_c |
net.minecraft.world.gen.structure.StructureStrongholdPieceWeight |
strongholdPieceWeight |
ComponentStrongholdPortalRoom |
strongholdPortalRoom |
boundingBox, componentType, coordBaseMode
Constructor and Description |
---|
ComponentStrongholdStairs2() |
ComponentStrongholdStairs2(int par1,
java.util.Random par2Random,
int par3,
int par4) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
canStrongholdGoDeeper(StructureBoundingBox par0StructureBoundingBox)
returns false if the Structure Bounding Box goes below 10
|
ChunkPosition |
getCenter() |
protected StructureComponent |
getNextComponentNormal(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5)
Gets the next component in any cardinal direction
|
protected StructureComponent |
getNextComponentX(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5)
Gets the next component in the +/- X direction
|
protected StructureComponent |
getNextComponentZ(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2,
java.util.List par2List,
java.util.Random par3Random,
int par4,
int par5)
Gets the next component in the +/- Z direction
|
protected EnumDoor |
getRandomDoor(java.util.Random par1Random) |
protected void |
placeDoor(World par1World,
java.util.Random par2Random,
StructureBoundingBox par3StructureBoundingBox,
EnumDoor par4EnumDoor,
int par5,
int par6,
int par7)
builds a door of the enumerated types (empty opening is a door)
|
addComponentParts, buildComponent, func_143011_b, func_143012_a, getStrongholdStairsComponent
clearCurrentPositionBlocksUpwards, fillCurrentPositionBlocksDownwards, fillWithAir, fillWithBlocks, fillWithMetadataBlocks, fillWithRandomizedBlocks, findIntersecting, func_143009_a, func_143010_b, generateStructureChestContents, generateStructureDispenserContents, getBlockIdAtCurrentPosition, getBoundingBox, getComponentType, getMetadataWithOffset, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, placeBlockAtCurrentPosition, placeDoorAtCurrentPosition, randomlyFillWithBlocks, randomlyPlaceBlock, randomlyRareFillWithBlocks
public net.minecraft.world.gen.structure.StructureStrongholdPieceWeight strongholdPieceWeight
public ComponentStrongholdPortalRoom strongholdPortalRoom
public java.util.List field_75026_c
protected EnumDoor field_143013_d
public ComponentStrongholdStairs2()
public ComponentStrongholdStairs2(int par1, java.util.Random par2Random, int par3, int par4)
public ChunkPosition getCenter()
getCenter
in class StructureComponent
protected void placeDoor(World par1World, java.util.Random par2Random, StructureBoundingBox par3StructureBoundingBox, EnumDoor par4EnumDoor, int par5, int par6, int par7)
protected EnumDoor getRandomDoor(java.util.Random par1Random)
protected StructureComponent getNextComponentNormal(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, java.util.List par2List, java.util.Random par3Random, int par4, int par5)
protected StructureComponent getNextComponentX(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, java.util.List par2List, java.util.Random par3Random, int par4, int par5)
protected StructureComponent getNextComponentZ(ComponentStrongholdStairs2 par1ComponentStrongholdStairs2, java.util.List par2List, java.util.Random par3Random, int par4, int par5)
protected static boolean canStrongholdGoDeeper(StructureBoundingBox par0StructureBoundingBox)