Package net.minecraft.structure
Class StrongholdGenerator.Library
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StrongholdGenerator.Piece
net.minecraft.structure.StrongholdGenerator.Library
- Enclosing class:
- StrongholdGenerator
public static class StrongholdGenerator.Library extends StrongholdGenerator.Piece
-
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 Modifier and Type Field Description private booleantall -
Constructor Summary
Constructors Constructor Description Library(int int2, Random random, BlockBox blockBox, Direction direction)Library(StructureManager structureManager, CompoundTag compoundTag) -
Method Summary
Modifier and Type Method Description booleangenerate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)static StrongholdGenerator.Librarymethod_14860(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction, int int5)protected voidtoNbt(CompoundTag tag)Methods inherited from class net.minecraft.structure.StrongholdGenerator.Piece
generateEntrance, getRandomEntrance, method_14870, method_14871, method_14873, method_14874Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillWithOutline, fillWithOutline, fillWithOutlineUnderSealevel, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, placeJigsaw, setOrientation, translate
-
Field Details
-
tall
private final boolean tall
-
-
Constructor Details
-
Method Details
-
toNbt
- Overrides:
toNbtin classStrongholdGenerator.Piece
-
method_14860
public static StrongholdGenerator.Library method_14860(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction, int int5) -
generate
public boolean generate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)- Specified by:
generatein classStructurePiece
-