public abstract class AbstractVillagePiece extends StructurePiece
StructurePiece.BlockSelector| Modifier and Type | Field and Description |
|---|---|
protected JigsawPiece |
jigsawPiece |
protected BlockPos |
pos |
protected Rotation |
rotation |
boundingBox, CAVE_AIR, componentType| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
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) |
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, writeprotected 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 in class StructurePiecepublic 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_ in class StructurePiecepublic void offset(int x,
int y,
int z)
offset in class StructurePiecepublic Rotation getRotation()
getRotation in class StructurePiecepublic java.lang.String toString()
toString in class java.lang.Objectpublic JigsawPiece getJigsawPiece()
public BlockPos getPos()
public int getGroundLevelDelta()
public void addJunction(JigsawJunction junction)
public java.util.List<JigsawJunction> getJunctions()