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
FieldsModifier and TypeFieldDescriptionprivate static final intprivate booleanprivate static final intprivate static final intFields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth -
Constructor Summary
ConstructorsConstructorDescriptionMonsterThrone(int pGenDepth, BoundingBox pBox, Direction pOrientation) MonsterThrone(CompoundTag pTag) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddAdditionalSaveData(StructurePieceSerializationContext pContext, CompoundTag pTag) createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, int pGenDepth, Direction pOrientation) voidpostProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) Methods inherited from class net.minecraft.world.level.levelgen.structure.structures.NetherFortressPieces.NetherBridgePiece
generateChildForward, generateChildLeft, generateChildRight, isOkBoxMethods 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
- Overrides:
addAdditionalSaveDatain classNetherFortressPieces.NetherBridgePiece
-
createPiece
public static NetherFortressPieces.MonsterThrone createPiece(StructurePieceAccessor pPieces, int pX, int pY, int pZ, int pGenDepth, Direction pOrientation) -
postProcess
public void postProcess(WorldGenLevel pLevel, StructureManager pStructureManager, ChunkGenerator pGenerator, RandomSource pRandom, BoundingBox pBox, ChunkPos pChunkPos, BlockPos pPos) - Specified by:
postProcessin classStructurePiece
-