Package net.minecraft.structure
Class NetherFortressGenerator.BridgePlatform
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.NetherFortressGenerator.Piece
net.minecraft.structure.NetherFortressGenerator.BridgePlatform
- Enclosing class:
- NetherFortressGenerator
public static class NetherFortressGenerator.BridgePlatform 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 boolean
hasBlazeSpawner
Fields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
Constructors Constructor Description BridgePlatform(int chainLength, BlockBox boundingBox, Direction orientation)
BridgePlatform(StructureManager structureManager, CompoundTag compoundTag)
-
Method Summary
Modifier and Type Method Description static NetherFortressGenerator.BridgePlatform
create(List<StructurePiece> pieces, int x, int y, int z, int chainLength, Direction orientation)
boolean
generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)
protected void
toNbt(CompoundTag tag)
Methods inherited from class net.minecraft.structure.NetherFortressGenerator.Piece
fillForwardOpening, fillNWOpening, fillSEOpening, isInbounds
Methods 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
-
hasBlazeSpawner
private boolean hasBlazeSpawner
-
-
Constructor Details
-
BridgePlatform
-
BridgePlatform
-
-
Method Details
-
toNbt
- Overrides:
toNbt
in classNetherFortressGenerator.Piece
-
create
public static NetherFortressGenerator.BridgePlatform create(List<StructurePiece> pieces, int x, int y, int z, int chainLength, Direction orientation) -
generate
public boolean generate(StructureWorldAccess structureWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)- Specified by:
generate
in classStructurePiece
-