public static class WoodlandMansionPieces.MansionTemplate extends StructureComponentTemplate
StructureComponent.BlockSelector
Modifier and Type | Field and Description |
---|---|
private Mirror |
mirror |
private Rotation |
rotation |
private java.lang.String |
templateName |
placeSettings, template, templatePosition
boundingBox, componentType
Constructor and Description |
---|
MansionTemplate() |
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,
World worldIn,
java.util.Random rand,
StructureBoundingBox sbb) |
private void |
loadTemplate(TemplateManager p_191081_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 templateName
private Rotation rotation
private Mirror mirror
public MansionTemplate()
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_)
private void loadTemplate(TemplateManager p_191081_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