Class NetherFortressPieces.MonsterThrone
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.MonsterThrone
- Enclosing class:
NetherFortressPieces
public static class NetherFortressPieces.MonsterThrone
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 boolean
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
ConstructorDescriptionMonsterThrone
(int p_228356_, BoundingBox p_228357_, Direction p_228358_) MonsterThrone
(CompoundTag p_228360_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData
(StructurePieceSerializationContext p_228377_, CompoundTag p_228378_) createPiece
(StructurePieceAccessor p_228370_, int p_228371_, int p_228372_, int p_228373_, int p_228374_, Direction p_228375_) void
postProcess
(WorldGenLevel p_228362_, StructureManager p_228363_, ChunkGenerator p_228364_, RandomSource p_228365_, BoundingBox p_228366_, ChunkPos p_228367_, BlockPos p_228368_) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
generateChildForward, generateChildLeft, generateChildRight, isOkBox
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, 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:
-
hasPlacedSpawner
private boolean hasPlacedSpawner
-
-
Constructor Details
-
MonsterThrone
-
MonsterThrone
-
-
Method Details
-
addAdditionalSaveData
protected void addAdditionalSaveData(StructurePieceSerializationContext p_228377_, CompoundTag p_228378_) - Overrides:
addAdditionalSaveData
in classNetherFortressPieces.NetherBridgePiece
-
createPiece
public static NetherFortressPieces.MonsterThrone createPiece(StructurePieceAccessor p_228370_, int p_228371_, int p_228372_, int p_228373_, int p_228374_, Direction p_228375_) -
postProcess
public void postProcess(WorldGenLevel p_228362_, StructureManager p_228363_, ChunkGenerator p_228364_, RandomSource p_228365_, BoundingBox p_228366_, ChunkPos p_228367_, BlockPos p_228368_) - Specified by:
postProcess
in classStructurePiece
-