public abstract class TemplateStructurePiece extends StructurePiece
StructurePiece.BlockSelector
修飾子とタイプ | フィールドと説明 |
---|---|
protected PlacementSettings |
placeSettings |
protected Template |
template |
protected BlockPos |
templatePosition |
boundingBox, CAVE_AIR, componentType
コンストラクタと説明 |
---|
TemplateStructurePiece(IStructurePieceType structurePieceTypeIn,
CompoundNBT nbt) |
TemplateStructurePiece(IStructurePieceType structurePieceTypeIn,
int componentTypeIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
func_225577_a_(IWorld p_225577_1_,
ChunkGenerator<?> p_225577_2_,
java.util.Random p_225577_3_,
MutableBoundingBox p_225577_4_,
ChunkPos p_225577_5_) |
Rotation |
getRotation() |
protected abstract void |
handleDataMarker(java.lang.String function,
BlockPos pos,
IWorld worldIn,
java.util.Random rand,
MutableBoundingBox sbb) |
void |
offset(int x,
int y,
int z) |
protected void |
readAdditional(CompoundNBT tagCompound)
(abstract) Helper method to read subclass data from NBT
|
protected void |
setup(Template templateIn,
BlockPos pos,
PlacementSettings settings) |
buildComponent, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_197528_a, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
protected Template template
protected PlacementSettings placeSettings
protected BlockPos templatePosition
public TemplateStructurePiece(IStructurePieceType structurePieceTypeIn, int componentTypeIn)
public TemplateStructurePiece(IStructurePieceType structurePieceTypeIn, CompoundNBT nbt)
protected void setup(Template templateIn, BlockPos pos, PlacementSettings settings)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
クラス内 StructurePiece
public boolean func_225577_a_(IWorld p_225577_1_, ChunkGenerator<?> p_225577_2_, java.util.Random p_225577_3_, MutableBoundingBox p_225577_4_, ChunkPos p_225577_5_)
func_225577_a_
クラス内 StructurePiece
protected abstract void handleDataMarker(java.lang.String function, BlockPos pos, IWorld worldIn, java.util.Random rand, MutableBoundingBox sbb)
public void offset(int x, int y, int z)
offset
クラス内 StructurePiece
public Rotation getRotation()
getRotation
クラス内 StructurePiece