public static class StructureVillagePieces.Field2 extends StructureVillagePieces.Village
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
private Block |
cropTypeA |
private Block |
cropTypeB |
averageGroundLvl, isZombieInfested, startPiece, structureType
boundingBox, componentType
Constructor and Description |
---|
Field2() |
Field2(StructureVillagePieces.Start start,
int p_i45569_2_,
java.util.Random rand,
StructureBoundingBox p_i45569_4_,
EnumFacing facing) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(World worldIn,
java.util.Random randomIn,
StructureBoundingBox structureBoundingBoxIn) |
static StructureVillagePieces.Field2 |
createPiece(StructureVillagePieces.Start start,
java.util.List<StructureComponent> p_175852_1_,
java.util.Random rand,
int p_175852_3_,
int p_175852_4_,
int p_175852_5_,
EnumFacing facing,
int p_175852_7_) |
private Block |
getRandomCropType(java.util.Random rand) |
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
buildComponent, 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 Field2()
public Field2(StructureVillagePieces.Start start, int p_i45569_2_, java.util.Random rand, StructureBoundingBox p_i45569_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
private Block getRandomCropType(java.util.Random rand)
public static StructureVillagePieces.Field2 createPiece(StructureVillagePieces.Start start, java.util.List<StructureComponent> p_175852_1_, java.util.Random rand, int p_175852_3_, int p_175852_4_, int p_175852_5_, EnumFacing facing, int p_175852_7_)
public boolean addComponentParts(World worldIn, java.util.Random randomIn, StructureBoundingBox structureBoundingBoxIn)
addComponentParts
in class StructureComponent