public static class StrongholdPieces.ChestCorridor extends StrongholdPieces.Stronghold
StrongholdPieces.Stronghold.Door
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private boolean |
hasMadeChest |
entryDoor
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
ChestCorridor(int p_i45582_1_,
java.util.Random p_i45582_2_,
MutableBoundingBox p_i45582_3_,
Direction p_i45582_4_) |
ChestCorridor(TemplateManager p_i50140_1_,
CompoundNBT p_i50140_2_) |
Modifier and Type | Method and Description |
---|---|
void |
buildComponent(StructurePiece componentIn,
java.util.List<StructurePiece> listIn,
java.util.Random rand) |
boolean |
create(IWorld worldIn,
ChunkGenerator<?> chunkGeneratorIn,
java.util.Random randomIn,
MutableBoundingBox mutableBoundingBoxIn,
ChunkPos chunkPosIn) |
static StrongholdPieces.ChestCorridor |
createPiece(java.util.List<StructurePiece> p_175868_0_,
java.util.Random p_175868_1_,
int p_175868_2_,
int p_175868_3_,
int p_175868_4_,
Direction p_175868_5_,
int p_175868_6_) |
protected void |
readAdditional(CompoundNBT tagCompound) |
canStrongholdGoDeeper, getNextComponentNormal, getNextComponentX, getNextComponentZ, getRandomDoor, placeDoor
correctFacing, createDispenser, fillWithAir, fillWithBlocks, fillWithRandomizedBlocks, findIntersecting, func_214810_a, generateChest, generateChest, generateMaybeBox, getBlockStateFromPos, getBoundingBox, getComponentType, getCoordBaseMode, getRotation, getSkyBrightness, getStructurePieceType, getXWithOffset, getYWithOffset, getZWithOffset, isLiquidInStructureBoundingBox, offset, randomlyPlaceBlock, randomlyRareFillWithBlocks, replaceAirAndLiquidDownwards, setBlockState, setCoordBaseMode, write
public ChestCorridor(int p_i45582_1_, java.util.Random p_i45582_2_, MutableBoundingBox p_i45582_3_, Direction p_i45582_4_)
public ChestCorridor(TemplateManager p_i50140_1_, CompoundNBT p_i50140_2_)
protected void readAdditional(CompoundNBT tagCompound)
readAdditional
in class StrongholdPieces.Stronghold
public void buildComponent(StructurePiece componentIn, java.util.List<StructurePiece> listIn, java.util.Random rand)
buildComponent
in class StructurePiece
public static StrongholdPieces.ChestCorridor createPiece(java.util.List<StructurePiece> p_175868_0_, java.util.Random p_175868_1_, int p_175868_2_, int p_175868_3_, int p_175868_4_, Direction p_175868_5_, int p_175868_6_)
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece