Package net.minecraft.structure
Class MineshaftGenerator.MineshaftPart
java.lang.Object
net.minecraft.structure.StructurePiece
net.minecraft.structure.MineshaftGenerator.MineshaftPart
- Direct Known Subclasses:
MineshaftGenerator.MineshaftCorridor,MineshaftGenerator.MineshaftCrossing,MineshaftGenerator.MineshaftRoom,MineshaftGenerator.MineshaftStairs
- Enclosing class:
- MineshaftGenerator
abstract static class MineshaftGenerator.MineshaftPart extends StructurePiece
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
Fields Modifier and Type Field Description protected MineshaftFeature.TypemineshaftType -
Constructor Summary
Constructors Constructor Description MineshaftPart(StructurePieceType structurePieceType, int int2, MineshaftFeature.Type type)MineshaftPart(StructurePieceType type, CompoundTag tag) -
Method Summary
Modifier and Type Method Description protected BlockStategetFenceType()protected BlockStategetPlanksType()protected booleanmethod_14719(BlockView blockView, BlockBox blockBox, int int2, int int3, int int4, int int5)protected voidtoNbt(CompoundTag tag)Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, fill, fillWithOutline, fillWithOutline, fillWithOutlineUnderSealevel, generate, getBlockAt, getBoundingBox, getFacing, getLength, getOverlappingPiece, getRotation, getTag, getType, intersectsChunk, isUnderSeaLevel, method_14916, method_14919, method_14936, method_14937, placeJigsaw, setOrientation, translate
-
Field Details
-
Constructor Details
-
Method Details
-
toNbt
- Specified by:
toNbtin classStructurePiece
-
getPlanksType
-
getFenceType
-
method_14719
-