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
Fields inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPart
mineshaftTypeFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
Constructors Constructor Description MineshaftRoom(int chainLength, Random random, int x, int z, MineshaftFeature.Type type)MineshaftRoom(StructureManager structureManager, CompoundTag compoundTag) -
Method Summary
Modifier and Type Method Description 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)voidtranslate(int x, int y, int z)Methods inherited from class net.minecraft.structure.MineshaftGenerator.MineshaftPart
getFenceType, getPlanksType, isSolidCeilingMethods 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
-
Field Details
-
entrances
-
-
Constructor Details
-
MineshaftRoom
-
MineshaftRoom
-
-
Method Details
-
fillOpenings
- Overrides:
fillOpeningsin classStructurePiece
-
generate
public boolean generate(StructureWorldAccess structureWorldAccess, 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
-