Class OceanRuinStructure
java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.OceanRuinStructure
- Mappings:
Namespace Name official dng
intermediary net/minecraft/class_3411
named net/minecraft/world/gen/structure/OceanRuinStructure
-
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 float
static final com.mojang.serialization.Codec<OceanRuinStructure>
final float
Fields inherited from class net.minecraft.world.gen.structure.Structure
config, ENTRY_CODEC, STRUCTURE_CODEC
-
Constructor Summary
ConstructorDescriptionOceanRuinStructure
(Structure.Config config, OceanRuinStructure.BiomeTemperature biomeTemperature, float largeProbability, float clusterProbability) -
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, getFeatureGenerationStep, getMinCornerHeight, getMinCornerHeight, getShiftedPos, getStructurePosition, getStructureSpawns, getTerrainAdaptation, getValidBiomes, postPlace
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official d
Ldng;d:Lcom/mojang/serialization/Codec;
intermediary field_37807
Lnet/minecraft/class_3411;field_37807:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/structure/OceanRuinStructure;CODEC:Lcom/mojang/serialization/Codec;
-
biomeTemperature
- Mappings:
Namespace Name Mixin selector official e
Ldng;e:Ldng$a;
intermediary field_37808
Lnet/minecraft/class_3411;field_37808:Lnet/minecraft/class_3411$class_3413;
named biomeTemperature
Lnet/minecraft/world/gen/structure/OceanRuinStructure;biomeTemperature:Lnet/minecraft/world/gen/structure/OceanRuinStructure$BiomeTemperature;
-
largeProbability
public final float largeProbability- Mappings:
Namespace Name Mixin selector official f
Ldng;f:F
intermediary field_37809
Lnet/minecraft/class_3411;field_37809:F
named largeProbability
Lnet/minecraft/world/gen/structure/OceanRuinStructure;largeProbability:F
-
clusterProbability
public final float clusterProbability- Mappings:
Namespace Name Mixin selector official g
Ldng;g:F
intermediary field_37810
Lnet/minecraft/class_3411;field_37810:F
named clusterProbability
Lnet/minecraft/world/gen/structure/OceanRuinStructure;clusterProbability:F
-
-
Constructor Details
-
OceanRuinStructure
public OceanRuinStructure(Structure.Config config, OceanRuinStructure.BiomeTemperature biomeTemperature, float largeProbability, float clusterProbability) - Mappings:
Namespace Name Mixin selector official <init>
Ldng;<init>(Ldlb$c;Ldng$a;FF)V
intermediary <init>
Lnet/minecraft/class_3411;<init>(Lnet/minecraft/class_3195$class_7302;Lnet/minecraft/class_3411$class_3413;FF)V
named <init>
Lnet/minecraft/world/gen/structure/OceanRuinStructure;<init>(Lnet/minecraft/world/gen/structure/Structure$Config;Lnet/minecraft/world/gen/structure/OceanRuinStructure$BiomeTemperature;FF)V
-
-
Method Details
-
getStructurePosition
- Specified by:
getStructurePosition
in classStructure
- Mappings:
Namespace Name Mixin selector official a
Ldlb;a(Ldlb$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
Ldng;a(Ldlt;Ldlb$a;)V
intermediary method_38700
Lnet/minecraft/class_3411;method_38700(Lnet/minecraft/class_6626;Lnet/minecraft/class_3195$class_7149;)V
named addPieces
Lnet/minecraft/world/gen/structure/OceanRuinStructure;addPieces(Lnet/minecraft/structure/StructurePiecesCollector;Lnet/minecraft/world/gen/structure/Structure$Context;)V
-
getType
- Specified by:
getType
in classStructure
- Mappings:
Namespace Name Mixin selector official e
Ldlb;e()Ldlk;
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;
-