public static class StructureMineshaftPieces.Corridor extends StructureComponent
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
protected MapGenMineshaft.Type |
mineShaftType |
boundingBox, componentType
Constructor and Description |
---|
Corridor() |
Corridor(int p_i47140_1_,
java.util.Random p_i47140_2_,
StructureBoundingBox p_i47140_3_,
EnumFacing p_i47140_4_,
MapGenMineshaft.Type p_i47140_5_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn) |
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand) |
static StructureBoundingBox |
findCorridorSize(java.util.List<StructureComponent> p_175814_0_,
java.util.Random rand,
int x,
int y,
int z,
EnumFacing facing) |
protected IBlockState |
func_189917_F_() |
protected boolean |
func_189918_a(World p_189918_1_,
StructureBoundingBox p_189918_2_,
int p_189918_3_,
int p_189918_4_,
int p_189918_5_,
int p_189918_6_) |
protected IBlockState |
func_189919_b() |
protected boolean |
generateChest(World worldIn,
StructureBoundingBox structurebb,
java.util.Random randomIn,
int x,
int y,
int z,
ResourceLocation loot) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_189914_a, func_189915_a, func_189916_b, getBlockStateFromPos, getBoundingBox, getBoundingBoxCenter, getComponentType, getCoordBaseMode, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
protected MapGenMineshaft.Type mineShaftType
public Corridor()
public Corridor(int p_i47140_1_, java.util.Random p_i47140_2_, StructureBoundingBox p_i47140_3_, EnumFacing p_i47140_4_, MapGenMineshaft.Type p_i47140_5_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
protected void readStructureFromNBT(NBTTagCompound tagCompound)
public static StructureBoundingBox findCorridorSize(java.util.List<StructureComponent> p_175814_0_, java.util.Random rand, int x, int y, int z, EnumFacing facing)
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent
in class StructureComponent
protected boolean generateChest(World worldIn, StructureBoundingBox structurebb, java.util.Random randomIn, int x, int y, int z, ResourceLocation loot)
generateChest
in class StructureComponent
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent
protected IBlockState func_189917_F_()
protected IBlockState func_189919_b()
protected boolean func_189918_a(World p_189918_1_, StructureBoundingBox p_189918_2_, int p_189918_3_, int p_189918_4_, int p_189918_5_, int p_189918_6_)