Class ShipwreckStructure
java.lang.Object
net.minecraft.world.gen.structure.StructureType
net.minecraft.world.gen.structure.ShipwreckStructure
- Mappings:
Namespace Name official dmm
intermediary net/minecraft/class_3170
named net/minecraft/world/gen/structure/ShipwreckStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.structure.StructureType
StructureType.Config, StructureType.Context, StructureType.StructurePosition
-
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
static final com.mojang.serialization.Codec<ShipwreckStructure>
Fields inherited from class net.minecraft.world.gen.structure.StructureType
config, ENTRY_CODEC, STRUCTURE_TYPE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
addPieces
(StructurePiecesCollector collector, StructureType.Context context) getType()
Methods inherited from class net.minecraft.world.gen.structure.StructureType
configCodecBuilder, createCodec, createStructureStart, expandBoxIfShouldAdaptNoise, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, postPlace
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official d
Ldmm;d:Lcom/mojang/serialization/Codec;
intermediary field_37815
Lnet/minecraft/class_3170;field_37815:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/structure/ShipwreckStructure;CODEC:Lcom/mojang/serialization/Codec;
-
beached
public final boolean beached- Mappings:
Namespace Name Mixin selector official e
Ldmm;e:Z
intermediary field_37816
Lnet/minecraft/class_3170;field_37816:Z
named beached
Lnet/minecraft/world/gen/structure/ShipwreckStructure;beached:Z
-
-
Constructor Details
-
ShipwreckStructure
- Mappings:
Namespace Name Mixin selector official <init>
Ldmm;<init>(Ldkd$c;Z)V
intermediary <init>
Lnet/minecraft/class_3170;<init>(Lnet/minecraft/class_3195$class_7302;Z)V
named <init>
Lnet/minecraft/world/gen/structure/ShipwreckStructure;<init>(Lnet/minecraft/world/gen/structure/StructureType$Config;Z)V
-
-
Method Details
-
getStructurePosition
public Optional<StructureType.StructurePosition> getStructurePosition(StructureType.Context context) - Specified by:
getStructurePosition
in classStructureType
- Mappings:
Namespace Name Mixin selector official a
Ldkd;a(Ldkd$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/StructureType;getStructurePosition(Lnet/minecraft/world/gen/structure/StructureType$Context;)Ljava/util/Optional;
-
addPieces
- Mappings:
Namespace Name Mixin selector official a
Ldmm;a(Ldkv;Ldkd$a;)V
intermediary method_38685
Lnet/minecraft/class_3170;method_38685(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)V
named addPieces
Lnet/minecraft/world/gen/structure/ShipwreckStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/StructureType$Context;)V
-
getType
- Specified by:
getType
in classStructureType
- Mappings:
Namespace Name Mixin selector official e
Ldkd;e()Ldkm;
intermediary method_41618
Lnet/minecraft/class_3195;method_41618()Lnet/minecraft/class_7151;
named getType
Lnet/minecraft/world/gen/structure/StructureType;getType()Lnet/minecraft/structure/StructureType;
-