public static class StructureVillagePieces.Path extends StructureVillagePieces.Road
StructureComponent.BlockSelector
averageGroundLvl, isZombieInfested, startPiece, structureType
boundingBox, componentType
Constructor and Description |
---|
Path() |
Path(StructureVillagePieces.Start start,
int p_i45562_2_,
java.util.Random rand,
StructureBoundingBox p_i45562_4_,
EnumFacing facing) |
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 StructureBoundingBox |
findPieceBox(StructureVillagePieces.Start start,
java.util.List<StructureComponent> p_175848_1_,
java.util.Random rand,
int p_175848_3_,
int p_175848_4_,
int p_175848_5_,
EnumFacing facing) |
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
|
biomeDoor, canVillageGoDeeper, chooseForgeProfession, chooseProfession, createVillageDoor, getAverageGroundLevel, getBiomeSpecificBlockState, getNextComponentNN, getNextComponentPP, placeTorch, replaceAirAndLiquidDownwards, setStructureType, spawnVillagers
clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, setBlockState, setCoordBaseMode
public Path()
public Path(StructureVillagePieces.Start start, int p_i45562_2_, java.util.Random rand, StructureBoundingBox p_i45562_4_, EnumFacing facing)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureVillagePieces.Village
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructureVillagePieces.Village
public void buildComponent(StructureComponent componentIn, java.util.List<StructureComponent> listIn, java.util.Random rand)
buildComponent
in class StructureComponent
public static StructureBoundingBox findPieceBox(StructureVillagePieces.Start start, java.util.List<StructureComponent> p_175848_1_, java.util.Random rand, int p_175848_3_, int p_175848_4_, int p_175848_5_, EnumFacing facing)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent