Package net.minecraft.structure
Class StrongholdGenerator.SquareRoom
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.StrongholdGenerator.Piece
net.minecraft.structure.StrongholdGenerator.SquareRoom
- Enclosing class:
- StrongholdGenerator
public static class StrongholdGenerator.SquareRoom 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 protected introomType -
Constructor Summary
Constructors Constructor Description SquareRoom(int int2, Random random, BlockBox blockBox, Direction direction)SquareRoom(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.SquareRoommethod_14865(List<StructurePiece> list, Random random, int int2, int int3, int int4, Direction direction, int int5)voidplaceJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)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, setOrientation, translate
-
Field Details
-
roomType
protected final int roomType
-
-
Constructor Details
-
Method Details
-
toNbt
- Overrides:
toNbtin classStrongholdGenerator.Piece
-
placeJigsaw
- Overrides:
placeJigsawin classStructurePiece
-
method_14865
public static StrongholdGenerator.SquareRoom method_14865(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
-