Class StrongholdPieces.StrongholdPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.StrongholdPieces.StrongholdPiece
- Direct Known Subclasses:
StrongholdPieces.ChestCorridor
,StrongholdPieces.FillerCorridor
,StrongholdPieces.FiveCrossing
,StrongholdPieces.Library
,StrongholdPieces.PortalRoom
,StrongholdPieces.PrisonHall
,StrongholdPieces.RoomCrossing
,StrongholdPieces.StairsDown
,StrongholdPieces.Straight
,StrongholdPieces.StraightStairsDown
,StrongholdPieces.Turn
- Enclosing class:
- StrongholdPieces
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ModifierConstructorDescriptionprotected
StrongholdPiece
(StructurePieceType p_209941_, int p_209942_, BoundingBox p_209943_) StrongholdPiece
(StructurePieceType p_209945_, CompoundTag p_209946_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_192635_, CompoundTag p_192636_) protected void
generateSmallDoor
(WorldGenLevel p_73311_, Random p_73312_, BoundingBox p_73313_, StrongholdPieces.StrongholdPiece.SmallDoorType p_73314_, int p_73315_, int p_73316_, int p_73317_) protected StructurePiece
generateSmallDoorChildForward
(StrongholdPieces.StartPiece p_163501_, StructurePieceAccessor p_163502_, Random p_163503_, int p_163504_, int p_163505_) protected StructurePiece
generateSmallDoorChildLeft
(StrongholdPieces.StartPiece p_163508_, StructurePieceAccessor p_163509_, Random p_163510_, int p_163511_, int p_163512_) protected StructurePiece
generateSmallDoorChildRight
(StrongholdPieces.StartPiece p_163514_, StructurePieceAccessor p_163515_, Random p_163516_, int p_163517_, int p_163518_) protected static boolean
isOkBox
(BoundingBox p_73319_) randomSmallDoor
(Random p_73327_) Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, 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, postProcess, reorient, setOrientation
-
Field Details
-
entryDoor
-
-
Constructor Details
-
StrongholdPiece
-
StrongholdPiece
-
-
Method Details
-
getNoiseEffect
- Overrides:
getNoiseEffect
in classStructurePiece
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192635_, CompoundTag p_192636_) - Specified by:
addAdditionalSaveData
in classStructurePiece
-
generateSmallDoor
protected void generateSmallDoor(WorldGenLevel p_73311_, Random p_73312_, BoundingBox p_73313_, StrongholdPieces.StrongholdPiece.SmallDoorType p_73314_, int p_73315_, int p_73316_, int p_73317_) -
randomSmallDoor
-
generateSmallDoorChildForward
@Nullable protected StructurePiece generateSmallDoorChildForward(StrongholdPieces.StartPiece p_163501_, StructurePieceAccessor p_163502_, Random p_163503_, int p_163504_, int p_163505_) -
generateSmallDoorChildLeft
@Nullable protected StructurePiece generateSmallDoorChildLeft(StrongholdPieces.StartPiece p_163508_, StructurePieceAccessor p_163509_, Random p_163510_, int p_163511_, int p_163512_) -
generateSmallDoorChildRight
@Nullable protected StructurePiece generateSmallDoorChildRight(StrongholdPieces.StartPiece p_163514_, StructurePieceAccessor p_163515_, Random p_163516_, int p_163517_, int p_163518_) -
isOkBox
-