Package net.minecraft.structure
Class StrongholdGenerator.RightTurn
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StrongholdGenerator.Piece
net.minecraft.structure.StrongholdGenerator.Turn
net.minecraft.structure.StrongholdGenerator.RightTurn
- Enclosing class:
- StrongholdGenerator
public static class StrongholdGenerator.RightTurn extends StrongholdGenerator.Turn
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StrongholdGenerator.Piece
StrongholdGenerator.Piece.EntranceTypeNested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
Fields inherited from class net.minecraft.structure.StrongholdGenerator.Piece
entryDoorFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
Constructors Constructor Description RightTurn(int chainLength, Random random, BlockBox boundingBox, Direction orientation)RightTurn(StructureManager structureManager, NbtCompound nbtCompound) -
Method Summary
Modifier and Type Method Description static StrongholdGenerator.RightTurncreate(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 world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)Methods inherited from class net.minecraft.structure.StrongholdGenerator.Piece
fillForwardOpening, fillNWOpening, fillSEOpening, generateEntrance, getRandomEntrance, isInbounds, toNbtMethods 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
-
RightTurn
-
RightTurn
-
-
Method Details
-
fillOpenings
- Overrides:
fillOpeningsin classStructurePiece
-
create
public static StrongholdGenerator.RightTurn create(List<StructurePiece> pieces, Random random, int x, int y, int z, Direction orientation, int chainLength) -
generate
public boolean generate(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos pos)- Specified by:
generatein classStructurePiece
-