public static class StructureEndCityPieces.CityTemplate extends StructureComponentTemplate
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
private boolean |
overwrite |
private java.lang.String |
pieceName |
private Rotation |
rotation |
placeSettings, template, templatePosition
boundingBox, componentType
Constructor and Description |
---|
CityTemplate() |
CityTemplate(TemplateManager p_i47214_1_,
java.lang.String p_i47214_2_,
BlockPos p_i47214_3_,
Rotation p_i47214_4_,
boolean overwriteIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
handleDataMarker(java.lang.String function,
BlockPos pos,
World worldIn,
java.util.Random rand,
StructureBoundingBox sbb) |
private void |
loadTemplate(TemplateManager p_191085_1_) |
protected void |
readStructureFromNBT(NBTTagCompound tagCompound,
TemplateManager p_143011_2_) |
protected void |
writeStructureToNBT(NBTTagCompound tagCompound) |
addComponentParts, offset, setup
buildComponent, clearCurrentPositionBlocksUpwards, createDispenser, createStructureBaseNBT, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, generateChest, generateChest, generateDoor, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, readStructureBaseNBT, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode
private java.lang.String pieceName
private Rotation rotation
private boolean overwrite
public CityTemplate()
public CityTemplate(TemplateManager p_i47214_1_, java.lang.String p_i47214_2_, BlockPos p_i47214_3_, Rotation p_i47214_4_, boolean overwriteIn)
private void loadTemplate(TemplateManager p_191085_1_)
protected void writeStructureToNBT(NBTTagCompound tagCompound)
writeStructureToNBT
in class StructureComponentTemplate
protected void readStructureFromNBT(NBTTagCompound tagCompound, TemplateManager p_143011_2_)
readStructureFromNBT
in class StructureComponentTemplate
protected void handleDataMarker(java.lang.String function, BlockPos pos, World worldIn, java.util.Random rand, StructureBoundingBox sbb)
handleDataMarker
in class StructureComponentTemplate