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
- Mappings:
Namespace Name named net/minecraft/structure/MineshaftGenerator$MineshaftPartintermediary net/minecraft/class_3353$class_3356official elv$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.structure.StructurePiece
StructurePiece.BlockRandomizer -
Field Summary
FieldsFields inherited from class net.minecraft.structure.StructurePiece
AIR, boundingBox, chainLength -
Constructor Summary
ConstructorsConstructorDescriptionMineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftStructure.Type type, BlockBox box) MineshaftPart(StructurePieceType type, NbtCompound nbt) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanAddBlock(WorldView world, int x, int y, int z, BlockBox box) protected booleancannotGenerate(WorldAccess world, BlockBox box) protected booleanisSolidCeiling(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z) protected voidtryPlaceFloor(StructureWorldAccess world, BlockBox box, BlockState state, int x, int y, int z) protected voidwriteNbt(StructureContext context, NbtCompound nbt) Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, boundingBox, canReplace, createBox, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, firstIntersecting, generate, getBlockAt, getBoundingBox, getCenter, getChainLength, getFacing, getMirror, getRandomHorizontalDirection, getRotation, getType, intersectsChunk, isUnderSeaLevel, offsetPos, orientateChest, setChainLength, setOrientation, toNbt, translate
-
Field Details
-
mineshaftType
- Mappings:
Namespace Name Mixin selector named mineshaftTypeLnet/minecraft/structure/MineshaftGenerator$MineshaftPart;mineshaftType:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;intermediary field_14421Lnet/minecraft/class_3353$class_3356;field_14421:Lnet/minecraft/class_3098$class_3100;official aLelv$c;a:Lelw$a;
-
-
Constructor Details
-
MineshaftPart
public MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftStructure.Type type, BlockBox box) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/world/gen/structure/MineshaftStructure$Type;Lnet/minecraft/util/math/BlockBox;)Vintermediary <init>Lnet/minecraft/class_3353$class_3356;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3098$class_3100;Lnet/minecraft/class_3341;)Vofficial <init>Lelv$c;<init>(Leki;ILelw$a;Lejj;)V
-
MineshaftPart
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)Vintermediary <init>Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)Vofficial <init>Lejv;<init>(Leki;Lub;)V
-
-
Method Details
-
canAddBlock
- Overrides:
canAddBlockin classStructurePiece- Mappings:
Namespace Name Mixin selector named canAddBlockLnet/minecraft/structure/StructurePiece;canAddBlock(Lnet/minecraft/world/WorldView;IIILnet/minecraft/util/math/BlockBox;)Zintermediary method_33780Lnet/minecraft/class_3443;method_33780(Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Zofficial aLejv;a(Ldcz;IIILejj;)Z
-
writeNbt
- Specified by:
writeNbtin classStructurePiece- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/structure/StructureContext;Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_14943Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_6625;Lnet/minecraft/class_2487;)Vofficial aLejv;a(Lekh;Lub;)V
-
isSolidCeiling
protected boolean isSolidCeiling(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z) - Mappings:
Namespace Name Mixin selector named isSolidCeilingLnet/minecraft/structure/MineshaftGenerator$MineshaftPart;isSolidCeiling(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockBox;IIII)Zintermediary method_14719Lnet/minecraft/class_3353$class_3356;method_14719(Lnet/minecraft/class_1922;Lnet/minecraft/class_3341;IIII)Zofficial aLelv$c;a(Ldcc;Lejj;IIII)Z
-
cannotGenerate
- Mappings:
Namespace Name Mixin selector named cannotGenerateLnet/minecraft/structure/MineshaftGenerator$MineshaftPart;cannotGenerate(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockBox;)Zintermediary method_33999Lnet/minecraft/class_3353$class_3356;method_33999(Lnet/minecraft/class_1936;Lnet/minecraft/class_3341;)Zofficial aLelv$c;a(Ldcx;Lejj;)Z
-
tryPlaceFloor
protected void tryPlaceFloor(StructureWorldAccess world, BlockBox box, BlockState state, int x, int y, int z) - Mappings:
Namespace Name Mixin selector named tryPlaceFloorLnet/minecraft/structure/MineshaftGenerator$MineshaftPart;tryPlaceFloor(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/block/BlockState;III)Vintermediary method_33880Lnet/minecraft/class_3353$class_3356;method_33880(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_2680;III)Vofficial aLelv$c;a(Ldds;Lejj;Ldtc;III)V
-