public static class StructureVillagePieces.House2 extends StructureVillagePieces.Village
StructureComponent.BlockSelectoraverageGroundLvl, isZombieInfested, startPiece, structureTypeboundingBox, componentType| Constructor and Description |
|---|
House2() |
House2(StructureVillagePieces.Start start,
int type,
java.util.Random rand,
StructureBoundingBox p_i45563_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...
|
protected int |
chooseProfession(int villagersSpawnedIn,
int currentVillagerProfession) |
static StructureVillagePieces.House2 |
createPiece(StructureVillagePieces.Start start,
java.util.List<StructureComponent> p_175855_1_,
java.util.Random rand,
int p_175855_3_,
int p_175855_4_,
int p_175855_5_,
EnumFacing facing,
int p_175855_7_) |
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, createVillageDoor, getAverageGroundLevel, getBiomeSpecificBlockState, getNextComponentNN, getNextComponentPP, placeTorch, replaceAirAndLiquidDownwards, setStructureType, spawnVillagersbuildComponent, 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, setCoordBaseModepublic House2()
public House2(StructureVillagePieces.Start start, int type, java.util.Random rand, StructureBoundingBox p_i45563_4_, EnumFacing facing)
public static StructureVillagePieces.House2 createPiece(StructureVillagePieces.Start start, java.util.List<StructureComponent> p_175855_1_, java.util.Random rand, int p_175855_3_, int p_175855_4_, int p_175855_5_, EnumFacing facing, int p_175855_7_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT in class StructureVillagePieces.Villageprotected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT in class StructureVillagePieces.Villagepublic boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts in class StructureComponentprotected int chooseProfession(int villagersSpawnedIn,
int currentVillagerProfession)
chooseProfession in class StructureVillagePieces.Village