public abstract static class StructureStrongholdPieces.Stronghold extends StructureComponent
Modifier and Type | Class and Description |
---|---|
static class |
StructureStrongholdPieces.Stronghold.Door |
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected StructureStrongholdPieces.Stronghold.Door |
field_143013_d |
boundingBox, componentType, coordBaseMode
Modifier | Constructor and Description |
---|---|
|
Stronghold() |
protected |
Stronghold(int p_i2087_1_) |
Modifier and Type | Method and Description |
---|---|
protected static boolean |
canStrongholdGoDeeper(StructureBoundingBox p_74991_0_)
returns false if the Structure Bounding Box goes below 10
|
protected StructureComponent |
getNextComponentNormal(StructureStrongholdPieces.Stairs2 p_74986_1_,
java.util.List<StructureComponent> p_74986_2_,
java.util.Random p_74986_3_,
int p_74986_4_,
int p_74986_5_)
Gets the next component in any cardinal direction
|
protected StructureComponent |
getNextComponentX(StructureStrongholdPieces.Stairs2 p_74989_1_,
java.util.List<StructureComponent> p_74989_2_,
java.util.Random p_74989_3_,
int p_74989_4_,
int p_74989_5_)
Gets the next component in the +/- X direction
|
protected StructureComponent |
getNextComponentZ(StructureStrongholdPieces.Stairs2 p_74987_1_,
java.util.List<StructureComponent> p_74987_2_,
java.util.Random p_74987_3_,
int p_74987_4_,
int p_74987_5_)
Gets the next component in the +/- Z direction
|
protected StructureStrongholdPieces.Stronghold.Door |
getRandomDoor(java.util.Random p_74988_1_) |
protected void |
placeDoor(World worldIn,
java.util.Random p_74990_2_,
StructureBoundingBox p_74990_3_,
StructureStrongholdPieces.Stronghold.Door p_74990_4_,
int p_74990_5_,
int p_74990_6_,
int p_74990_7_)
builds a door of the enumerated types (empty opening is a door)
|
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
|
addComponentParts, 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 StructureStrongholdPieces.Stronghold.Door field_143013_d
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureComponent
protected void readStructureFromNBT(NBTTagCompound tagCompound)
readStructureFromNBT
in class StructureComponent
protected void placeDoor(World worldIn, java.util.Random p_74990_2_, StructureBoundingBox p_74990_3_, StructureStrongholdPieces.Stronghold.Door p_74990_4_, int p_74990_5_, int p_74990_6_, int p_74990_7_)
protected StructureStrongholdPieces.Stronghold.Door getRandomDoor(java.util.Random p_74988_1_)
protected StructureComponent getNextComponentNormal(StructureStrongholdPieces.Stairs2 p_74986_1_, java.util.List<StructureComponent> p_74986_2_, java.util.Random p_74986_3_, int p_74986_4_, int p_74986_5_)
protected StructureComponent getNextComponentX(StructureStrongholdPieces.Stairs2 p_74989_1_, java.util.List<StructureComponent> p_74989_2_, java.util.Random p_74989_3_, int p_74989_4_, int p_74989_5_)
protected StructureComponent getNextComponentZ(StructureStrongholdPieces.Stairs2 p_74987_1_, java.util.List<StructureComponent> p_74987_2_, java.util.Random p_74987_3_, int p_74987_4_, int p_74987_5_)
protected static boolean canStrongholdGoDeeper(StructureBoundingBox p_74991_0_)