Class OceanRuinStructure

java.lang.Object
net.minecraft.world.gen.structure.Structure
net.minecraft.world.gen.structure.OceanRuinStructure

public class OceanRuinStructure extends Structure
Mappings:
Namespace Name
official duc
intermediary net/minecraft/class_3411
named net/minecraft/world/gen/structure/OceanRuinStructure
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<OceanRuinStructure> CODEC
      Mappings:
      Namespace Name Mixin selector
      official d Lduc;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

      public final OceanRuinStructure.BiomeTemperature biomeTemperature
      Mappings:
      Namespace Name Mixin selector
      official e Lduc;e:Lduc$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 Lduc;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 Lduc;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> Lduc;<init>(Ldrx$c;Lduc$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

      public Optional<Structure.StructurePosition> getStructurePosition(Structure.Context context)
      Specified by:
      getStructurePosition in class Structure
      Mappings:
      Namespace Name Mixin selector
      official a Ldrx;a(Ldrx$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

      private void addPieces(StructurePiecesCollector collector, Structure.Context context)
      Mappings:
      Namespace Name Mixin selector
      official a Lduc;a(Ldsp;Ldrx$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

      public StructureType<?> getType()
      Specified by:
      getType in class Structure
      Mappings:
      Namespace Name Mixin selector
      official e Ldrx;e()Ldsg;
      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;