Class NetherFortressPieces.CastleEntrance
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.CastleEntrance
- Enclosing class:
NetherFortressPieces
public static class NetherFortressPieces.CastleEntrance
extends NetherFortressPieces.NetherBridgePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionCastleEntrance
(int p_228173_, RandomSource p_228174_, BoundingBox p_228175_, Direction p_228176_) CastleEntrance
(CompoundTag p_228178_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildren
(StructurePiece p_228188_, StructurePieceAccessor p_228189_, RandomSource p_228190_) createPiece
(StructurePieceAccessor p_228192_, RandomSource p_228193_, int p_228194_, int p_228195_, int p_228196_, Direction p_228197_, int p_228198_) void
postProcess
(WorldGenLevel p_228180_, StructureManager p_228181_, ChunkGenerator p_228182_, RandomSource p_228183_, BoundingBox p_228184_, ChunkPos p_228185_, BlockPos p_228186_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
addAdditionalSaveData, generateChildForward, generateChildLeft, generateChildRight, isOkBox
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
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, reorient, setGenDepth, setOrientation
-
Field Details
-
WIDTH
private static final int WIDTH- See Also:
-
HEIGHT
private static final int HEIGHT- See Also:
-
DEPTH
private static final int DEPTH- See Also:
-
-
Constructor Details
-
CastleEntrance
public CastleEntrance(int p_228173_, RandomSource p_228174_, BoundingBox p_228175_, Direction p_228176_) -
CastleEntrance
-
-
Method Details
-
addChildren
public void addChildren(StructurePiece p_228188_, StructurePieceAccessor p_228189_, RandomSource p_228190_) - Overrides:
addChildren
in classStructurePiece
-
createPiece
public static NetherFortressPieces.CastleEntrance createPiece(StructurePieceAccessor p_228192_, RandomSource p_228193_, int p_228194_, int p_228195_, int p_228196_, Direction p_228197_, int p_228198_) -
postProcess
public void postProcess(WorldGenLevel p_228180_, StructureManager p_228181_, ChunkGenerator p_228182_, RandomSource p_228183_, BoundingBox p_228184_, ChunkPos p_228185_, BlockPos p_228186_) - Specified by:
postProcess
in classStructurePiece
-