public static class IglooPieces.Piece extends TemplateStructurePiece
StructurePiece.BlockSelector
placeSettings, template, templatePosition
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
Piece(TemplateManager p_i50566_1_,
CompoundNBT p_i50566_2_) |
Piece(TemplateManager p_i49313_1_,
ResourceLocation p_i49313_2_,
BlockPos p_i49313_3_,
Rotation p_i49313_4_,
int p_i49313_5_) |
Modifier and Type | Method and Description |
---|---|
boolean |
addComponentParts(IWorld worldIn,
java.util.Random randomIn,
MutableBoundingBox structureBoundingBoxIn,
ChunkPos p_74875_4_) |
protected void |
handleDataMarker(java.lang.String function,
BlockPos pos,
IWorld worldIn,
java.util.Random rand,
MutableBoundingBox sbb) |
protected void |
readAdditional(CompoundNBT tagCompound) |
getRotation, offset, setup
buildComponent, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, func_214807_k, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
public Piece(TemplateManager p_i49313_1_, ResourceLocation p_i49313_2_, BlockPos p_i49313_3_, Rotation p_i49313_4_, int p_i49313_5_)
public Piece(TemplateManager p_i50566_1_, CompoundNBT p_i50566_2_)
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
public boolean addComponentParts(IWorld worldIn, java.util.Random randomIn, MutableBoundingBox structureBoundingBoxIn, ChunkPos p_74875_4_)
addComponentParts
in class TemplateStructurePiece