Class StrongholdPieces.PortalRoom
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
net.minecraft.world.level.levelgen.structure.StrongholdPieces.PortalRoom
- Enclosing class:
- StrongholdPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
StrongholdPieces.StrongholdPiece.SmallDoorType
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprotected static int
private boolean
protected static int
protected static int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
entryDoor
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionPortalRoom(int p_73070_, BoundingBox p_73071_, Direction p_73072_)
PortalRoom(ServerLevel p_163347_, CompoundTag p_163348_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_163350_, CompoundTag p_163351_)
void
addChildren(StructurePiece p_163353_, StructurePieceAccessor p_163354_, Random p_163355_)
static StrongholdPieces.PortalRoom
createPiece(StructurePieceAccessor p_163357_, int p_163358_, int p_163359_, int p_163360_, Direction p_163361_, int p_163362_)
boolean
postProcess(WorldGenLevel p_73077_, StructureFeatureManager p_73078_, ChunkGenerator p_73079_, Random p_73080_, BoundingBox p_73081_, ChunkPos p_73082_, BlockPos p_73083_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
generateSmallDoor, generateSmallDoorChildForward, generateSmallDoorChildLeft, generateSmallDoorChildRight, getNoiseEffect, isOkBox, randomSmallDoor
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
canBeReplaced, createChest, createChest, createDispenser, createTag, fillColumnDown, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
WIDTH
protected static final int WIDTH- See Also:
- Constant Field Values
-
HEIGHT
protected static final int HEIGHT- See Also:
- Constant Field Values
-
DEPTH
protected static final int DEPTH- See Also:
- Constant Field Values
-
hasPlacedSpawner
private boolean hasPlacedSpawner
-
-
Constructor Details
-
PortalRoom
-
PortalRoom
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
addChildren
public void addChildren(StructurePiece p_163353_, StructurePieceAccessor p_163354_, Random p_163355_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.PortalRoom createPiece(StructurePieceAccessor p_163357_, int p_163358_, int p_163359_, int p_163360_, Direction p_163361_, int p_163362_) -
postProcess
public boolean postProcess(WorldGenLevel p_73077_, StructureFeatureManager p_73078_, ChunkGenerator p_73079_, Random p_73080_, BoundingBox p_73081_, ChunkPos p_73082_, BlockPos p_73083_)- Specified by:
postProcess
in classStructurePiece
-