public static class IglooPieces.Piece extends TemplateStructurePiece
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private ResourceLocation |
field_207615_d |
private Rotation |
field_207616_e |
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 |
create(IWorld worldIn,
ChunkGenerator<?> chunkGeneratorIn,
java.util.Random randomIn,
MutableBoundingBox mutableBoundingBoxIn,
ChunkPos chunkPosIn) |
private void |
func_207614_a(TemplateManager p_207614_1_) |
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, 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 ResourceLocation field_207615_d
private final Rotation field_207616_e
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_)
private void func_207614_a(TemplateManager p_207614_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
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class TemplateStructurePiece