Package net.minecraft.structure
Class NetherFortressGenerator.BridgeCrossing
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.NetherFortressGenerator.Piece
net.minecraft.structure.NetherFortressGenerator.BridgeCrossing
- Direct Known Subclasses:
NetherFortressGenerator.Start
- Enclosing class:
- NetherFortressGenerator
public static class NetherFortressGenerator.BridgeCrossing extends NetherFortressGenerator.Piece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer
-
Field Summary
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
Constructors Modifier Constructor Description BridgeCrossing(int chainLength, BlockBox boundingBox, Direction orientation)
protected
BridgeCrossing(Random random, int x, int z)
BridgeCrossing(StructureManager structureManager, CompoundTag compoundTag)
protected
BridgeCrossing(StructurePieceType type, CompoundTag tag)
-
Method Summary
Modifier and Type Method Description static NetherFortressGenerator.BridgeCrossing
create(List<StructurePiece> pieces, int x, int y, int z, Direction orientation, int chainLength)
void
fillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)
boolean
generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
Methods inherited from class net.minecraft.structure.NetherFortressGenerator.Piece
fillForwardOpening, fillNWOpening, fillSEOpening, isInbounds, toNbt
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillDownwards, fillHalfEllipsoid, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
-
Constructor Details
-
BridgeCrossing
-
BridgeCrossing
-
BridgeCrossing
-
BridgeCrossing
-
-
Method Details
-
fillOpenings
- Overrides:
fillOpenings
in classStructurePiece
-
create
public static NetherFortressGenerator.BridgeCrossing create(List<StructurePiece> pieces, int x, int y, int z, Direction orientation, int chainLength) -
generate
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)- Specified by:
generate
in classStructurePiece
-