Package net.minecraft.structure
Class NetherFortressGenerator.CorridorRightTurn
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.NetherFortressGenerator.Piece
net.minecraft.structure.NetherFortressGenerator.CorridorRightTurn
- Enclosing class:
- NetherFortressGenerator
public static class NetherFortressGenerator.CorridorRightTurn 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 booleancontainsChestFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
Constructors Constructor Description CorridorRightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation)CorridorRightTurn(StructureManager structureManager, CompoundTag compoundTag) -
Method Summary
Modifier and Type Method Description static NetherFortressGenerator.CorridorRightTurncreate(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength)voidfillOpenings(StructurePiece start, List<StructurePiece> pieces, Random random)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, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, getBlockAt, getBoundingBox, getChainLength, getFacing, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isTouchingLiquid, isUnderSeaLevel, orientateChest, setOrientation, translate
-
Field Details
-
containsChest
private boolean containsChest
-
-
Constructor Details
-
CorridorRightTurn
-
CorridorRightTurn
-
-
Method Details
-
toNbt
- Overrides:
toNbtin classNetherFortressGenerator.Piece
-
fillOpenings
- Overrides:
fillOpeningsin classStructurePiece
-
create
public static NetherFortressGenerator.CorridorRightTurn create(List<StructurePiece> pieces, Random random, 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:
generatein classStructurePiece
-