Class MineshaftStructure
java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.MineshaftStructure
- Mappings:
Namespace Name official dtp
intermediary net/minecraft/class_3098
named net/minecraft/world/gen/structure/MineshaftStructure
-
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.Codec<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, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, getValidStructurePosition, postPlace
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official d
Ldtp;d:Lcom/mojang/serialization/Codec;
intermediary field_37801
Lnet/minecraft/class_3098;field_37801:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/structure/MineshaftStructure;CODEC:Lcom/mojang/serialization/Codec;
-
type
- Mappings:
Namespace Name Mixin selector official e
Ldtp;e:Ldtp$a;
intermediary field_37802
Lnet/minecraft/class_3098;field_37802:Lnet/minecraft/class_3098$class_3100;
named type
Lnet/minecraft/world/gen/structure/MineshaftStructure;type:Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;
-
-
Constructor Details
-
MineshaftStructure
- Mappings:
Namespace Name Mixin selector official <init>
Ldtp;<init>(Ldrs$c;Ldtp$a;)V
intermediary <init>
Lnet/minecraft/class_3098;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_3098$class_3100;)V
named <init>
Lnet/minecraft/world/gen/structure/MineshaftStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/world/gen/structure/MineshaftStructure$Type;)V
-
-
Method Details
-
getStructurePosition
- Specified by:
getStructurePosition
in classStructure
- Mappings:
Namespace Name Mixin selector official a
Ldrs;a(Ldrs$a;)Ljava/util/Optional;
intermediary method_38676
Lnet/minecraft/class_3195;method_38676(Lnet/minecraft/class_3195$class_7149;)Ljava/util/Optional;
named getStructurePosition
Lnet/minecraft/world/gen/structure/Structure;getStructurePosition(Lnet/minecraft/world/gen/structure/Structure$Context;)Ljava/util/Optional;
-
addPieces
- Mappings:
Namespace Name Mixin selector official a
Ldtp;a(Ldsk;Ldrs$a;)I
intermediary method_38678
Lnet/minecraft/class_3098;method_38678(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)I
named addPieces
Lnet/minecraft/world/gen/structure/MineshaftStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/Structure$Context;)I
-
getType
- Specified by:
getType
in classStructure
- Mappings:
Namespace Name Mixin selector official e
Ldrs;e()Ldsb;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
named getType
Lnet/minecraft/world/gen/structure/Structure;getType()Lnet/minecraft/world/gen/structure/StructureType;
-