Class StrongholdPieces.Stronghold
java.lang.Object
net.minecraft.world.gen.feature.structure.StructurePiece
net.minecraft.world.gen.feature.structure.StrongholdPieces.Stronghold
- Direct Known Subclasses:
StrongholdPieces.ChestCorridor
,StrongholdPieces.Corridor
,StrongholdPieces.Crossing
,StrongholdPieces.Library
,StrongholdPieces.PortalRoom
,StrongholdPieces.Prison
,StrongholdPieces.RoomCrossing
,StrongholdPieces.Stairs
,StrongholdPieces.StairsStraight
,StrongholdPieces.Straight
,StrongholdPieces.Turn
- Enclosing class:
- StrongholdPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ModifierConstructorDescriptionprotected
Stronghold
(IStructurePieceType p_i50110_1_, int p_i50110_2_) Stronghold
(IStructurePieceType p_i50111_1_, CompoundNBT p_i50111_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(CompoundNBT p_143011_1_) protected void
generateSmallDoor
(ISeedReader p_242917_1_, Random p_242917_2_, MutableBoundingBox p_242917_3_, StrongholdPieces.Stronghold.Door p_242917_4_, int p_242917_5_, int p_242917_6_, int p_242917_7_) protected StructurePiece
generateSmallDoorChildForward
(StrongholdPieces.Stairs2 p_74986_1_, List<StructurePiece> p_74986_2_, Random p_74986_3_, int p_74986_4_, int p_74986_5_) protected StructurePiece
generateSmallDoorChildLeft
(StrongholdPieces.Stairs2 p_74989_1_, List<StructurePiece> p_74989_2_, Random p_74989_3_, int p_74989_4_, int p_74989_5_) protected StructurePiece
generateSmallDoorChildRight
(StrongholdPieces.Stairs2 p_74987_1_, List<StructurePiece> p_74987_2_, Random p_74987_3_, int p_74987_4_, int p_74987_5_) protected static boolean
isOkBox
(MutableBoundingBox p_74991_0_) protected StrongholdPieces.Stronghold.Door
randomSmallDoor
(Random p_74988_1_) Methods inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
addChildren, createChest, createChest, createDispenser, createTag, edgesLiquid, fillColumnDown, findCollisionPiece, generateAirBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getOrientation, getRotation, getType, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, maybeGenerateBlock, move, placeBlock, postProcess, reorient, setOrientation
-
Field Details
-
entryDoor
-
-
Constructor Details
-
Stronghold
-
Stronghold
-
-
Method Details
-
addAdditionalSaveData
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
generateSmallDoor
protected void generateSmallDoor(ISeedReader p_242917_1_, Random p_242917_2_, MutableBoundingBox p_242917_3_, StrongholdPieces.Stronghold.Door p_242917_4_, int p_242917_5_, int p_242917_6_, int p_242917_7_) -
randomSmallDoor
-
generateSmallDoorChildForward
@Nullable protected StructurePiece generateSmallDoorChildForward(StrongholdPieces.Stairs2 p_74986_1_, List<StructurePiece> p_74986_2_, Random p_74986_3_, int p_74986_4_, int p_74986_5_) -
generateSmallDoorChildLeft
@Nullable protected StructurePiece generateSmallDoorChildLeft(StrongholdPieces.Stairs2 p_74989_1_, List<StructurePiece> p_74989_2_, Random p_74989_3_, int p_74989_4_, int p_74989_5_) -
generateSmallDoorChildRight
@Nullable protected StructurePiece generateSmallDoorChildRight(StrongholdPieces.Stairs2 p_74987_1_, List<StructurePiece> p_74987_2_, Random p_74987_3_, int p_74987_4_, int p_74987_5_) -
isOkBox
-