Class ShipwreckStructure
java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.ShipwreckStructure
- Mappings:
Namespace Name named net/minecraft/world/gen/structure/ShipwreckStructure
intermediary net/minecraft/class_3170
official elb
-
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 TypeFieldDescriptionfinal boolean
static final com.mojang.serialization.MapCodec
<ShipwreckStructure> Fields inherited from class net.minecraft.world.gen.structure.Structure
config, ENTRY_CODEC, STRUCTURE_CODEC
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
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/ShipwreckStructure;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_37815
Lnet/minecraft/class_3170;field_37815:Lcom/mojang/serialization/MapCodec;
official d
Lelb;d:Lcom/mojang/serialization/MapCodec;
-
beached
public final boolean beached- Mappings:
Namespace Name Mixin selector named beached
Lnet/minecraft/world/gen/structure/ShipwreckStructure;beached:Z
intermediary field_37816
Lnet/minecraft/class_3170;field_37816:Z
official e
Lelb;e:Z
-
-
Constructor Details
-
ShipwreckStructure
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/structure/ShipwreckStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Z)V
intermediary <init>
Lnet/minecraft/class_3170;<init>(Lnet/minecraft/class_3195$class_7302;Z)V
official <init>
Lelb;<init>(Leil$c;Z)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
Leil;a(Leil$a;)Ljava/util/Optional;
-
addPieces
- Mappings:
Namespace Name Mixin selector named addPieces
Lnet/minecraft/world/gen/structure/ShipwreckStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/Structure$Context;)V
intermediary method_38685
Lnet/minecraft/class_3170;method_38685(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)V
official a
Lelb;a(Lejd;Leil$a;)V
-
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
Leil;e()Leiu;
-