public static class StructureStrongholdPieces.Straight extends StructureStrongholdPieces.Stronghold
StructureStrongholdPieces.Stronghold.DoorStructureComponent.BlockSelectorentryDoorboundingBox, componentType| Constructor and Description |
|---|
Straight() |
Straight(int p_i45573_1_,
java.util.Random p_i45573_2_,
StructureBoundingBox p_i45573_3_,
EnumFacing p_i45573_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.Straight |
createPiece(java.util.List<StructureComponent> p_175862_0_,
java.util.Random p_175862_1_,
int p_175862_2_,
int p_175862_3_,
int p_175862_4_,
EnumFacing p_175862_5_,
int p_175862_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, placeDoorclearCurrentPositionBlocksUpwards, 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, setCoordBaseModepublic Straight()
public Straight(int p_i45573_1_,
java.util.Random p_i45573_2_,
StructureBoundingBox p_i45573_3_,
EnumFacing p_i45573_4_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT in class StructureStrongholdPieces.Strongholdprotected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT in class StructureStrongholdPieces.Strongholdpublic void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent in class StructureComponentpublic static StructureStrongholdPieces.Straight createPiece(java.util.List<StructureComponent> p_175862_0_, java.util.Random p_175862_1_, int p_175862_2_, int p_175862_3_, int p_175862_4_, EnumFacing p_175862_5_, int p_175862_6_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts in class StructureComponent