public static class StructureVillagePieces.Path extends StructureVillagePieces.Road
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
private int |
length |
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) |
void |
buildComponent(StructureComponent componentIn,
java.util.List<StructureComponent> listIn,
java.util.Random rand) |
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_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
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