Class StrongholdPieces.RoomCrossing
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.RoomCrossing
- 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
protected static int
protected 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
ConstructorDescriptionRoomCrossing(int p_73155_, Random p_73156_, BoundingBox p_73157_, Direction p_73158_)
RoomCrossing(ServerLevel p_163402_, CompoundTag p_163403_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_163405_, CompoundTag p_163406_)
void
addChildren(StructurePiece p_163408_, StructurePieceAccessor p_163409_, Random p_163410_)
createPiece(StructurePieceAccessor p_163412_, Random p_163413_, int p_163414_, int p_163415_, int p_163416_, Direction p_163417_, int p_163418_)
boolean
postProcess(WorldGenLevel p_73163_, StructureFeatureManager p_73164_, ChunkGenerator p_73165_, Random p_73166_, BoundingBox p_73167_, ChunkPos p_73168_, BlockPos p_73169_)
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
-
type
protected final int type
-
-
Constructor Details
-
RoomCrossing
-
RoomCrossing
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classStrongholdPieces.StrongholdPiece
-
addChildren
public void addChildren(StructurePiece p_163408_, StructurePieceAccessor p_163409_, Random p_163410_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static StrongholdPieces.RoomCrossing createPiece(StructurePieceAccessor p_163412_, Random p_163413_, int p_163414_, int p_163415_, int p_163416_, Direction p_163417_, int p_163418_) -
postProcess
public boolean postProcess(WorldGenLevel p_73163_, StructureFeatureManager p_73164_, ChunkGenerator p_73165_, Random p_73166_, BoundingBox p_73167_, ChunkPos p_73168_, BlockPos p_73169_)- Specified by:
postProcess
in classStructurePiece
-