public abstract class AbstractVillagePiece extends StructurePiece
StructurePiece.BlockSelector| Modifier and Type | Field and Description |
|---|---|
protected JigsawPiece |
field_214832_a |
protected BlockPos |
field_214833_b |
protected Rotation |
rotation |
boundingBox, CAVE_AIR, componentType| Constructor and Description |
|---|
AbstractVillagePiece(IStructurePieceType p_i51346_1_,
TemplateManager p_i51346_2_,
JigsawPiece p_i51346_3_,
BlockPos p_i51346_4_,
int groundLevelDelta,
Rotation rotation,
MutableBoundingBox p_i51346_7_) |
AbstractVillagePiece(TemplateManager p_i51347_1_,
CompoundNBT p_i51347_2_,
IStructurePieceType p_i51347_3_) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addComponentParts(IWorld worldIn,
java.util.Random randomIn,
MutableBoundingBox structureBoundingBoxIn,
ChunkPos p_74875_4_) |
void |
addJunction(JigsawJunction p_214831_1_) |
JigsawPiece |
func_214826_b() |
BlockPos |
func_214828_c() |
int |
getGroundLevelDelta() |
java.util.List<JigsawJunction> |
getJunctions() |
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_214807_k, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getSkyBrightness, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, writeprotected final JigsawPiece field_214832_a
protected BlockPos field_214833_b
protected final Rotation rotation
public AbstractVillagePiece(IStructurePieceType p_i51346_1_, TemplateManager p_i51346_2_, JigsawPiece p_i51346_3_, BlockPos p_i51346_4_, int groundLevelDelta, Rotation rotation, MutableBoundingBox p_i51346_7_)
public AbstractVillagePiece(TemplateManager p_i51347_1_, CompoundNBT p_i51347_2_, IStructurePieceType p_i51347_3_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional in class StructurePiecepublic boolean addComponentParts(IWorld worldIn, java.util.Random randomIn, MutableBoundingBox structureBoundingBoxIn, ChunkPos p_74875_4_)
addComponentParts 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 func_214826_b()
public BlockPos func_214828_c()
public int getGroundLevelDelta()
public void addJunction(JigsawJunction p_214831_1_)
public java.util.List<JigsawJunction> getJunctions()