Package net.minecraft.structure
Class MineshaftGenerator.MineshaftRoom
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.MineshaftGenerator.MineshaftPart
net.minecraft.structure.MineshaftGenerator.MineshaftRoom
- Enclosing class:
- MineshaftGenerator
public static class MineshaftGenerator.MineshaftRoom extends MineshaftGenerator.MineshaftPart
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
-
Constructor Summary
Constructors Constructor Description MineshaftRoom(int int2, Random random, int int3, int int4, MineshaftFeature.Type type)MineshaftRoom(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)voidplaceJigsaw(StructurePiece structurePiece, List<StructurePiece> list, Random random)protected voidtoNbt(CompoundTag tag)voidtranslate(int x, int y, int z)Methods inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPart
getFenceType, getPlanksType, method_14719Methods 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
-
Field Details
-
Constructor Details
-
Method Details
-
placeJigsaw
- Overrides:
placeJigsawin classStructurePiece
-
generate
public boolean generate(ServerWorldAccess serverWorldAccess, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox boundingBox, ChunkPos chunkPos, BlockPos blockPos)- Specified by:
generatein classStructurePiece
-
translate
public void translate(int x, int y, int z)- Overrides:
translatein classStructurePiece
-
toNbt
- Overrides:
toNbtin classMineshaftGenerator.MineshaftPart
-