public abstract class AbstractVillagePiece extends StructurePiece
StructurePiece.BlockSelector| Modifier and Type | Field and Description | 
|---|---|
private int | 
groundLevelDelta  | 
protected JigsawPiece | 
jigsawPiece  | 
private java.util.List<JigsawJunction> | 
junctions  | 
protected BlockPos | 
pos  | 
protected Rotation | 
rotation  | 
private TemplateManager | 
templateManager  | 
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 | 
create(IWorld worldIn,
      ChunkGenerator<?> chunkGeneratorIn,
      java.util.Random randomIn,
      MutableBoundingBox mutableBoundingBoxIn,
      ChunkPos chunkPosIn)  | 
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, 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, writeprotected final JigsawPiece jigsawPiece
protected BlockPos pos
private final int groundLevelDelta
protected final Rotation rotation
private final java.util.List<JigsawJunction> junctions
private final TemplateManager templateManager
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 create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create 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()