Class NetherBridgePieces.CastleEntrance
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.NetherBridgePieces.NetherBridgePiece
net.minecraft.world.level.levelgen.structure.NetherBridgePieces.CastleEntrance
- Enclosing class:
- NetherBridgePieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private static int
private static int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionCastleEntrance(int p_71705_, Random p_71706_, BoundingBox p_71707_, Direction p_71708_)
CastleEntrance(ServerLevel p_162727_, CompoundTag p_162728_)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren(StructurePiece p_162730_, StructurePieceAccessor p_162731_, Random p_162732_)
createPiece(StructurePieceAccessor p_162734_, Random p_162735_, int p_162736_, int p_162737_, int p_162738_, Direction p_162739_, int p_162740_)
boolean
postProcess(WorldGenLevel p_71713_, StructureFeatureManager p_71714_, ChunkGenerator p_71715_, Random p_71716_, BoundingBox p_71717_, ChunkPos p_71718_, BlockPos p_71719_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.NetherBridgePieces.NetherBridgePiece
addAdditionalSaveData, generateChildForward, generateChildLeft, generateChildRight, isOkBox
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, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getRotation, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, move, placeBlock, reorient, setOrientation
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
- Constant Field Values
-
HEIGHT
private static final int HEIGHT- See Also:
- Constant Field Values
-
DEPTH
private static final int DEPTH- See Also:
- Constant Field Values
-
-
Constructor Details
-
CastleEntrance
-
CastleEntrance
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_162730_, StructurePieceAccessor p_162731_, Random p_162732_)- Overrides:
addChildren
in classStructurePiece
-
createPiece
public static NetherBridgePieces.CastleEntrance createPiece(StructurePieceAccessor p_162734_, Random p_162735_, int p_162736_, int p_162737_, int p_162738_, Direction p_162739_, int p_162740_) -
postProcess
public boolean postProcess(WorldGenLevel p_71713_, StructureFeatureManager p_71714_, ChunkGenerator p_71715_, Random p_71716_, BoundingBox p_71717_, ChunkPos p_71718_, BlockPos p_71719_)- Specified by:
postProcess
in classStructurePiece
-