Class MineshaftStructure
java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.MineshaftStructure
- Mappings:
Namespace Name named net/minecraft/world/gen/structure/MineshaftStructure
intermediary net/minecraft/class_3098
official elr
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.structure.Structure
Structure.Config, Structure.Context, Structure.StructurePosition
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<MineshaftStructure> private final MineshaftStructure.Type
Fields inherited from class net.minecraft.world.gen.structure.Structure
config, ENTRY_CODEC, STRUCTURE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
addPieces
(StructurePiecesCollector collector, Structure.Context context) getStructurePosition
(Structure.Context context) getType()
Methods inherited from class net.minecraft.world.gen.structure.Structure
configCodecBuilder, createCodec, createStructureStart, expandBoxIfShouldAdaptNoise, getAverageCornerHeights, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, getValidStructurePosition, postPlace
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/world/gen/structure/MineshaftStructure;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_37801
Lnet/minecraft/class_3098;field_37801:Lcom/mojang/serialization/MapCodec;
official d
Lelr;d:Lcom/mojang/serialization/MapCodec;
-
type
- Mappings:
Namespace Name Mixin selector named type
Lnet/minecraft/world/gen/structure/MineshaftStructure;type:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
intermediary field_37802
Lnet/minecraft/class_3098;field_37802:Lnet/minecraft/class_3098$class_3100;
official e
Lelr;e:Lelr$a;
-
-
Constructor Details
-
MineshaftStructure
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/structure/MineshaftStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;)V
intermediary <init>
Lnet/minecraft/class_3098;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_3098$class_3100;)V
official <init>
Lelr;<init>(Lejm$c;Lelr$a;)V
-
-
Method Details
-
getStructurePosition
- Specified by:
getStructurePosition
in classStructure
- Mappings:
Namespace Name Mixin selector named getStructurePosition
Lnet/minecraft/world/gen/structure/Structure;getStructurePosition(Lnet/minecraft/world/gen/structure/Structure$Context;)Ljava/util/Optional;
intermediary method_38676
Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;
official a
Lejm;a(Lejm$a;)Ljava/util/Optional;
-
addPieces
- Mappings:
Namespace Name Mixin selector named addPieces
Lnet/minecraft/world/gen/structure/MineshaftStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/Structure$Context;)I
intermediary method_38678
Lnet/minecraft/class_3098;method_38678(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)I
official a
Lelr;a(Leke;Lejm$a;)I
-
getType
- Specified by:
getType
in classStructure
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/structure/Structure;getType()Lnet/minecraft/world/gen/structure/StructureType;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
official e
Lejm;e()Lejv;
-