public static class StrongholdPieces.PortalRoom extends StrongholdPieces.Stronghold
StrongholdPieces.Stronghold.Door
StructurePiece.BlockSelector
Modifier and Type | Field and Description |
---|---|
private boolean |
hasSpawner |
entryDoor
boundingBox, CAVE_AIR, componentType
Constructor and Description |
---|
PortalRoom(int p_i50131_1_,
MutableBoundingBox p_i50131_2_,
Direction p_i50131_3_) |
PortalRoom(TemplateManager p_i50132_1_,
CompoundNBT p_i50132_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.PortalRoom |
createPiece(java.util.List<StructurePiece> p_175865_0_,
int p_175865_1_,
int p_175865_2_,
int p_175865_3_,
Direction p_175865_4_,
int p_175865_5_) |
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 PortalRoom(int p_i50131_1_, MutableBoundingBox p_i50131_2_, Direction p_i50131_3_)
public PortalRoom(TemplateManager p_i50132_1_, CompoundNBT p_i50132_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.PortalRoom createPiece(java.util.List<StructurePiece> p_175865_0_, int p_175865_1_, int p_175865_2_, int p_175865_3_, Direction p_175865_4_, int p_175865_5_)
public boolean create(IWorld worldIn, ChunkGenerator<?> chunkGeneratorIn, java.util.Random randomIn, MutableBoundingBox mutableBoundingBoxIn, ChunkPos chunkPosIn)
create
in class StructurePiece