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