public static class EndCityPieces.CityTemplate extends TemplateStructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private boolean |
overwrite |
private java.lang.String |
pieceName |
private Rotation |
rotation |
placeSettings, template, templatePosition
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
CityTemplate(TemplateManager p_i50598_1_,
CompoundNBT p_i50598_2_) |
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,
IWorld worldIn,
java.util.Random rand,
MutableBoundingBox sbb) |
private void |
loadTemplate(TemplateManager p_191085_1_) |
protected void |
readAdditional(CompoundNBT tagCompound) |
create, getRotation, offset, setup
buildComponent, correctFacing, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
private final java.lang.String pieceName
private final Rotation rotation
private final boolean overwrite
public CityTemplate(TemplateManager p_i47214_1_, java.lang.String p_i47214_2_, BlockPos p_i47214_3_, Rotation p_i47214_4_, boolean overwriteIn)
public CityTemplate(TemplateManager p_i50598_1_, CompoundNBT p_i50598_2_)
private void loadTemplate(TemplateManager p_191085_1_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class TemplateStructurePiece
protected void handleDataMarker(java.lang.String function, BlockPos pos, IWorld worldIn, java.util.Random rand, MutableBoundingBox sbb)
handleDataMarker
in class TemplateStructurePiece