public static class OceanRuinPieces.Piece extends TemplateStructurePiece
StructurePiece.BlockSelectorplaceSettings, template, templatePositionboundingBox, CAVE_AIR, componentType| Constructor and Description |
|---|
Piece(TemplateManager p_i50592_1_,
CompoundNBT p_i50592_2_) |
Piece(TemplateManager p_i48868_1_,
ResourceLocation p_i48868_2_,
BlockPos p_i48868_3_,
Rotation p_i48868_4_,
float p_i48868_5_,
OceanRuinStructure.Type p_i48868_6_,
boolean p_i48868_7_) |
| 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, setupbuildComponent, 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, writepublic Piece(TemplateManager p_i48868_1_, ResourceLocation p_i48868_2_, BlockPos p_i48868_3_, Rotation p_i48868_4_, float p_i48868_5_, OceanRuinStructure.Type p_i48868_6_, boolean p_i48868_7_)
public Piece(TemplateManager p_i50592_1_, CompoundNBT p_i50592_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional in class TemplateStructurePieceprotected void handleDataMarker(java.lang.String function,
BlockPos pos,
IWorld worldIn,
java.util.Random rand,
MutableBoundingBox sbb)
handleDataMarker in class TemplateStructurePiecepublic boolean addComponentParts(IWorld worldIn, java.util.Random randomIn, MutableBoundingBox structureBoundingBoxIn, ChunkPos p_74875_4_)
addComponentParts in class TemplateStructurePiece