public static class ShipwreckPieces.Piece extends TemplateStructurePiece
StructurePiece.BlockSelector| Modifier and Type | Field and Description |
|---|---|
private ResourceLocation |
field_204756_e |
private boolean |
isBeached |
private Rotation |
rotation |
placeSettings, template, templatePositionboundingBox, CAVE_AIR, componentType| Constructor and Description |
|---|
Piece(TemplateManager p_i50445_1_,
CompoundNBT p_i50445_2_) |
Piece(TemplateManager p_i48904_1_,
ResourceLocation p_i48904_2_,
BlockPos p_i48904_3_,
Rotation p_i48904_4_,
boolean p_i48904_5_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
create(IWorld worldIn,
ChunkGenerator<?> chunkGeneratorIn,
java.util.Random randomIn,
MutableBoundingBox mutableBoundingBoxIn,
ChunkPos chunkPosIn) |
private void |
func_204754_a(TemplateManager p_204754_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, setupbuildComponent, 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, writeprivate final Rotation rotation
private final ResourceLocation field_204756_e
private final boolean isBeached
public Piece(TemplateManager p_i48904_1_, ResourceLocation p_i48904_2_, BlockPos p_i48904_3_, Rotation p_i48904_4_, boolean p_i48904_5_)
public Piece(TemplateManager p_i50445_1_, CompoundNBT p_i50445_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional in class TemplateStructurePieceprivate void func_204754_a(TemplateManager p_204754_1_)
protected void handleDataMarker(java.lang.String function,
BlockPos pos,
IWorld worldIn,
java.util.Random rand,
MutableBoundingBox sbb)
handleDataMarker in class TemplateStructurePiecepublic boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create in class TemplateStructurePiece