public static class WoodlandMansionPieces.MansionTemplate extends TemplateStructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private Mirror |
mirror |
private Rotation |
rotation |
private java.lang.String |
templateName |
placeSettings, template, templatePosition
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
MansionTemplate(TemplateManager p_i50615_1_,
CompoundNBT p_i50615_2_) |
MansionTemplate(TemplateManager p_i47355_1_,
java.lang.String p_i47355_2_,
BlockPos p_i47355_3_,
Rotation p_i47355_4_) |
MansionTemplate(TemplateManager p_i47356_1_,
java.lang.String p_i47356_2_,
BlockPos p_i47356_3_,
Rotation p_i47356_4_,
Mirror p_i47356_5_) |
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_191081_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 templateName
private final Rotation rotation
private final Mirror mirror
public MansionTemplate(TemplateManager p_i47355_1_, java.lang.String p_i47355_2_, BlockPos p_i47355_3_, Rotation p_i47355_4_)
public MansionTemplate(TemplateManager p_i47356_1_, java.lang.String p_i47356_2_, BlockPos p_i47356_3_, Rotation p_i47356_4_, Mirror p_i47356_5_)
public MansionTemplate(TemplateManager p_i50615_1_, CompoundNBT p_i50615_2_)
private void loadTemplate(TemplateManager p_191081_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