Class NetherBridgePieces.MonsterThrone
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.MonsterThrone
- 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 boolean
private static int
private static int
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionMonsterThrone(int p_71874_, BoundingBox p_71875_, Direction p_71876_)
MonsterThrone(ServerLevel p_162838_, CompoundTag p_162839_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_162841_, CompoundTag p_162842_)
createPiece(StructurePieceAccessor p_162844_, int p_162845_, int p_162846_, int p_162847_, int p_162848_, Direction p_162849_)
boolean
postProcess(WorldGenLevel p_71881_, StructureFeatureManager p_71882_, ChunkGenerator p_71883_, Random p_71884_, BoundingBox p_71885_, ChunkPos p_71886_, BlockPos p_71887_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.NetherBridgePieces.NetherBridgePiece
generateChildForward, generateChildLeft, generateChildRight, isOkBox
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, 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
-
hasPlacedSpawner
private boolean hasPlacedSpawner
-
-
Constructor Details
-
MonsterThrone
-
MonsterThrone
-
-
Method Details
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classNetherBridgePieces.NetherBridgePiece
-
createPiece
public static NetherBridgePieces.MonsterThrone createPiece(StructurePieceAccessor p_162844_, int p_162845_, int p_162846_, int p_162847_, int p_162848_, Direction p_162849_) -
postProcess
public boolean postProcess(WorldGenLevel p_71881_, StructureFeatureManager p_71882_, ChunkGenerator p_71883_, Random p_71884_, BoundingBox p_71885_, ChunkPos p_71886_, BlockPos p_71887_)- Specified by:
postProcess
in classStructurePiece
-