public static class StructureStrongholdPieces.Crossing extends StructureStrongholdPieces.Stronghold
StructureStrongholdPieces.Stronghold.Door
StructureComponent.BlockSelector
entryDoor
boundingBox, componentType
Constructor and Description |
---|
Crossing() |
Crossing(int p_i45580_1_,
java.util.Random p_i45580_2_,
StructureBoundingBox p_i45580_3_,
EnumFacing p_i45580_4_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn)
second Part of Structure generating, this for example places Spiderwebs, Mob Spawners, it closes
Mineshafts at the end, it adds Fences...
|
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand)
Initiates construction of the Structure Component picked, at the current Location of StructGen
|
static StructureStrongholdPieces.Crossing |
createPiece(java.util.List<StructureComponent> p_175866_0_,
java.util.Random p_175866_1_,
int p_175866_2_,
int p_175866_3_,
int p_175866_4_,
EnumFacing p_175866_5_,
int p_175866_6_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_)
(abstract) Helper method to read subclass data from NBT
|
protected void |
writeStructureToNBT(NBTTagCompound tagCompound)
(abstract) Helper method to write subclass data to NBT
|
canStrongholdGoDeeper, getNextComponentNormal, getNextComponentX, getNextComponentZ, getRandomDoor, placeDoor
clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
public Crossing()
public Crossing(int p_i45580_1_, java.util.Random p_i45580_2_, StructureBoundingBox p_i45580_3_, EnumFacing p_i45580_4_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureStrongholdPieces.Stronghold
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructureStrongholdPieces.Stronghold
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent
in class StructureComponent
public static StructureStrongholdPieces.Crossing createPiece(java.util.List<StructureComponent> p_175866_0_, java.util.Random p_175866_1_, int p_175866_2_, int p_175866_3_, int p_175866_4_, EnumFacing p_175866_5_, int p_175866_6_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent