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 final int
private boolean
protected static final int
protected static final 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
(CompoundTag p_192551_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192561_, CompoundTag p_192562_) 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_) void
postProcess
(WorldGenLevel p_192553_, StructureFeatureManager p_192554_, ChunkGenerator p_192555_, Random p_192556_, BoundingBox p_192557_, ChunkPos p_192558_, BlockPos p_192559_) 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, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, 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:
-
HEIGHT
protected static final int HEIGHT- See Also:
-
DEPTH
protected static final int DEPTH- See Also:
-
hasPlacedSpawner
private boolean hasPlacedSpawner
-
-
Constructor Details
-
PortalRoom
-
PortalRoom
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192561_, CompoundTag p_192562_) - 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 void postProcess(WorldGenLevel p_192553_, StructureFeatureManager p_192554_, ChunkGenerator p_192555_, Random p_192556_, BoundingBox p_192557_, ChunkPos p_192558_, BlockPos p_192559_) - Specified by:
postProcess
in classStructurePiece
-