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
abstract static class StrongholdPieces.Stronghold extends StructurePiece
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StrongholdPieces.Stronghold.Door
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
StructurePiece.BlockSelector
-
-
Field Summary
Fields Modifier and Type Field Description protected StrongholdPieces.Stronghold.Door
entryDoor
-
Fields inherited from class net.minecraft.world.gen.feature.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Stronghold(IStructurePieceType p_i50110_1_, int p_i50110_2_)
Stronghold(IStructurePieceType p_i50111_1_, CompoundNBT p_i50111_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAdditionalSaveData(CompoundNBT p_143011_1_)
protected void
generateSmallDoor(ISeedReader p_242917_1_, java.util.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_, java.util.List<StructurePiece> p_74986_2_, java.util.Random p_74986_3_, int p_74986_4_, int p_74986_5_)
protected StructurePiece
generateSmallDoorChildLeft(StrongholdPieces.Stairs2 p_74989_1_, java.util.List<StructurePiece> p_74989_2_, java.util.Random p_74989_3_, int p_74989_4_, int p_74989_5_)
protected StructurePiece
generateSmallDoorChildRight(StrongholdPieces.Stairs2 p_74987_1_, java.util.List<StructurePiece> p_74987_2_, java.util.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(java.util.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 Detail
-
entryDoor
protected StrongholdPieces.Stronghold.Door entryDoor
-
-
Constructor Detail
-
Stronghold
protected Stronghold(IStructurePieceType p_i50110_1_, int p_i50110_2_)
-
Stronghold
public Stronghold(IStructurePieceType p_i50111_1_, CompoundNBT p_i50111_2_)
-
-
Method Detail
-
addAdditionalSaveData
protected void addAdditionalSaveData(CompoundNBT p_143011_1_)
- Specified by:
addAdditionalSaveData
in classStructurePiece
-
generateSmallDoor
protected void generateSmallDoor(ISeedReader p_242917_1_, java.util.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
protected StrongholdPieces.Stronghold.Door randomSmallDoor(java.util.Random p_74988_1_)
-
generateSmallDoorChildForward
@Nullable protected StructurePiece generateSmallDoorChildForward(StrongholdPieces.Stairs2 p_74986_1_, java.util.List<StructurePiece> p_74986_2_, java.util.Random p_74986_3_, int p_74986_4_, int p_74986_5_)
-
generateSmallDoorChildLeft
@Nullable protected StructurePiece generateSmallDoorChildLeft(StrongholdPieces.Stairs2 p_74989_1_, java.util.List<StructurePiece> p_74989_2_, java.util.Random p_74989_3_, int p_74989_4_, int p_74989_5_)
-
generateSmallDoorChildRight
@Nullable protected StructurePiece generateSmallDoorChildRight(StrongholdPieces.Stairs2 p_74987_1_, java.util.List<StructurePiece> p_74987_2_, java.util.Random p_74987_3_, int p_74987_4_, int p_74987_5_)
-
isOkBox
protected static boolean isOkBox(MutableBoundingBox p_74991_0_)
-
-