public abstract class AbstractVillagePiece extends StructurePiece
StructurePiece.BlockSelector
修飾子とタイプ | フィールドと説明 |
---|---|
protected JigsawPiece |
jigsawPiece |
protected BlockPos |
pos |
protected Rotation |
rotation |
boundingBox, CAVE_AIR, componentType
コンストラクタと説明 |
---|
AbstractVillagePiece(IStructurePieceType structurePieceTypeIn,
TemplateManager templateManagerIn,
JigsawPiece jigsawPieceIn,
BlockPos posIn,
int groundLevelDelta,
Rotation rotation,
MutableBoundingBox p_i51346_7_) |
AbstractVillagePiece(TemplateManager templateManagerIn,
CompoundNBT p_i51347_2_,
IStructurePieceType structurePieceTypeIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addJunction(JigsawJunction junction) |
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_) |
int |
getGroundLevelDelta() |
JigsawPiece |
getJigsawPiece() |
java.util.List<JigsawJunction> |
getJunctions() |
BlockPos |
getPos() |
Rotation |
getRotation() |
void |
offset(int x,
int y,
int z) |
protected void |
readAdditional(CompoundNBT tagCompound)
(abstract) Helper method to read subclass data from NBT
|
java.lang.String |
toString() |
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 final JigsawPiece jigsawPiece
protected BlockPos pos
protected final Rotation rotation
public AbstractVillagePiece(IStructurePieceType structurePieceTypeIn, TemplateManager templateManagerIn, JigsawPiece jigsawPieceIn, BlockPos posIn, int groundLevelDelta, Rotation rotation, MutableBoundingBox p_i51346_7_)
public AbstractVillagePiece(TemplateManager templateManagerIn, CompoundNBT p_i51347_2_, IStructurePieceType structurePieceTypeIn)
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
public void offset(int x, int y, int z)
offset
クラス内 StructurePiece
public Rotation getRotation()
getRotation
クラス内 StructurePiece
public java.lang.String toString()
toString
クラス内 java.lang.Object
public JigsawPiece getJigsawPiece()
public BlockPos getPos()
public int getGroundLevelDelta()
public void addJunction(JigsawJunction junction)
public java.util.List<JigsawJunction> getJunctions()