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 official dax$c
intermediary net/minecraft/class_3353$class_3356
named net/minecraft/structure/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.StructurePiece
AIR, boundingBox, chainLength
-
Constructor Summary
ConstructorDescriptionMineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftFeature.Type type, BlockBox blockBox)
MineshaftPart(StructurePieceType type, NbtCompound nbt)
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
canAddBlock(WorldView world, int x, int y, int z, BlockBox box)
protected boolean
isSolidCeiling(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z)
protected void
method_33880(StructureWorldAccess structureWorldAccess, BlockBox blockBox, BlockState blockState, int int2, int int3, int int4)
protected boolean
method_33999(BlockView blockView, BlockBox blockBox)
protected void
writeNbt(ServerWorld world, NbtCompound nbt)
Methods inherited from class net.minecraft.structure.StructurePiece
addBlock, addBlockWithRandomThreshold, addChest, addChest, addDispenser, applyXTransform, applyYTransform, applyZTransform, canReplace, fill, fillDownwards, fillHalfEllipsoid, fillOpenings, fillWithOutline, fillWithOutline, fillWithOutlineUnderSeaLevel, generate, getBlockAt, getBoundingBox, getChainLength, getFacing, getRotation, getType, intersectsChunk, isUnderSeaLevel, method_33882, method_35454, method_35455, method_35456, method_35457, method_35458, method_35460, offsetPos, orientateChest, setOrientation, toNbt, translate
-
Field Details
-
mineshaftType
- Mappings:
Namespace Name Mixin selector official a
Ldax$c;a:Lctb$b;
intermediary field_14421
Lnet/minecraft/class_3353$class_3356;field_14421:Lnet/minecraft/class_3098$class_3100;
named mineshaftType
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;mineshaftType:Lnet/minecraft/world/gen/feature/MineshaftFeature$Type;
-
-
Constructor Details
-
MineshaftPart
public MineshaftPart(StructurePieceType structurePieceType, int chainLength, MineshaftFeature.Type type, BlockBox blockBox)- Mappings:
Namespace Name Mixin selector official <init>
Ldax$c;<init>(Lcud;ILctb$b;Ldaq;)V
intermediary <init>
Lnet/minecraft/class_3353$class_3356;<init>(Lnet/minecraft/class_3773;ILnet/minecraft/class_3098$class_3100;Lnet/minecraft/class_3341;)V
named <init>
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;<init>(Lnet/minecraft/structure/StructurePieceType;ILnet/minecraft/world/gen/feature/MineshaftFeature$Type;Lnet/minecraft/util/math/BlockBox;)V
-
MineshaftPart
- Mappings:
Namespace Name Mixin selector official <init>
Ldbl;<init>(Lcud;Lna;)V
intermediary <init>
Lnet/minecraft/class_3443;<init>(Lnet/minecraft/class_3773;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/structure/StructurePiece;<init>(Lnet/minecraft/structure/StructurePieceType;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
canAddBlock
- Overrides:
canAddBlock
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldbl;a(Lbws;IIILdaq;)Z
intermediary method_33780
Lnet/minecraft/class_3443;method_33780(Lnet/minecraft/class_4538;IIILnet/minecraft/class_3341;)Z
named canAddBlock
Lnet/minecraft/structure/StructurePiece;canAddBlock(Lnet/minecraft/world/WorldView;IIILnet/minecraft/util/math/BlockBox;)Z
-
writeNbt
- Specified by:
writeNbt
in classStructurePiece
- Mappings:
Namespace Name Mixin selector official a
Ldbl;a(Labr;Lna;)V
intermediary method_14943
Lnet/minecraft/class_3443;method_14943(Lnet/minecraft/class_3218;Lnet/minecraft/class_2487;)V
named writeNbt
Lnet/minecraft/structure/StructurePiece;writeNbt(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/nbt/NbtCompound;)V
-
isSolidCeiling
protected boolean isSolidCeiling(BlockView world, BlockBox boundingBox, int minX, int maxX, int y, int z)- Mappings:
Namespace Name Mixin selector official a
Ldax$c;a(Lbvt;Ldaq;IIII)Z
intermediary method_14719
Lnet/minecraft/class_3353$class_3356;method_14719(Lnet/minecraft/class_1922;Lnet/minecraft/class_3341;IIII)Z
named isSolidCeiling
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;isSolidCeiling(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockBox;IIII)Z
-
method_33999
- Mappings:
Namespace Name Mixin selector official a
Ldax$c;a(Lbvt;Ldaq;)Z
intermediary method_33999
Lnet/minecraft/class_3353$class_3356;method_33999(Lnet/minecraft/class_1922;Lnet/minecraft/class_3341;)Z
named method_33999
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;method_33999(Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockBox;)Z
-
method_33880
protected void method_33880(StructureWorldAccess structureWorldAccess, BlockBox blockBox, BlockState blockState, int int2, int int3, int int4)- Mappings:
Namespace Name Mixin selector official a
Ldax$c;a(Lbxk;Ldaq;Lcks;III)V
intermediary method_33880
Lnet/minecraft/class_3353$class_3356;method_33880(Lnet/minecraft/class_5281;Lnet/minecraft/class_3341;Lnet/minecraft/class_2680;III)V
named method_33880
Lnet/minecraft/structure/MineshaftGenerator$MineshaftPart;method_33880(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockBox;Lnet/minecraft/block/BlockState;III)V
-