Class OreFeatureConfig

java.lang.Object
net.minecraft.world.gen.feature.OreFeatureConfig
All Implemented Interfaces:
FeatureConfig

public class OreFeatureConfig extends Object implements FeatureConfig
Mappings:
Namespace Name
official dgf
intermediary net/minecraft/class_3124
named net/minecraft/world/gen/feature/OreFeatureConfig
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<OreFeatureConfig> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldgf;a:Lcom/mojang/serialization/Codec;
      intermediary field_24896 Lnet/minecraft/class_3124;field_24896:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/feature/OreFeatureConfig;CODEC:Lcom/mojang/serialization/Codec;
    • targets

      public final List<OreFeatureConfig.Target> targets
      Mappings:
      Namespace Name Mixin selector
      official b Ldgf;b:Ljava/util/List;
      intermediary field_29063 Lnet/minecraft/class_3124;field_29063:Ljava/util/List;
      named targets Lnet/minecraft/world/gen/feature/OreFeatureConfig;targets:Ljava/util/List;
    • size

      public final int size
      Mappings:
      Namespace Name Mixin selector
      official c Ldgf;c:I
      intermediary field_13723 Lnet/minecraft/class_3124;field_13723:I
      named size Lnet/minecraft/world/gen/feature/OreFeatureConfig;size:I
    • discardOnAirChance

      public final float discardOnAirChance
      Mappings:
      Namespace Name Mixin selector
      official d Ldgf;d:F
      intermediary field_29064 Lnet/minecraft/class_3124;field_29064:F
      named discardOnAirChance Lnet/minecraft/world/gen/feature/OreFeatureConfig;discardOnAirChance:F
  • Constructor Details

    • OreFeatureConfig

      public OreFeatureConfig(List<OreFeatureConfig.Target> targets, int size, float discardOnAirChance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgf;<init>(Ljava/util/List;IF)V
      intermediary <init> Lnet/minecraft/class_3124;<init>(Ljava/util/List;IF)V
      named <init> Lnet/minecraft/world/gen/feature/OreFeatureConfig;<init>(Ljava/util/List;IF)V
    • OreFeatureConfig

      public OreFeatureConfig(List<OreFeatureConfig.Target> targets, int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgf;<init>(Ljava/util/List;I)V
      intermediary <init> Lnet/minecraft/class_3124;<init>(Ljava/util/List;I)V
      named <init> Lnet/minecraft/world/gen/feature/OreFeatureConfig;<init>(Ljava/util/List;I)V
    • OreFeatureConfig

      public OreFeatureConfig(RuleTest test, BlockState state, int size, float discardOnAirChance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgf;<init>(Ldon;Lcvo;IF)V
      intermediary <init> Lnet/minecraft/class_3124;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_2680;IF)V
      named <init> Lnet/minecraft/world/gen/feature/OreFeatureConfig;<init>(Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/block/BlockState;IF)V
    • OreFeatureConfig

      public OreFeatureConfig(RuleTest test, BlockState state, int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgf;<init>(Ldon;Lcvo;I)V
      intermediary <init> Lnet/minecraft/class_3124;<init>(Lnet/minecraft/class_3825;Lnet/minecraft/class_2680;I)V
      named <init> Lnet/minecraft/world/gen/feature/OreFeatureConfig;<init>(Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/block/BlockState;I)V
  • Method Details

    • createTarget

      public static OreFeatureConfig.Target createTarget(RuleTest test, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Ldgf;a(Ldon;Lcvo;)Ldgf$a;
      intermediary method_33994 Lnet/minecraft/class_3124;method_33994(Lnet/minecraft/class_3825;Lnet/minecraft/class_2680;)Lnet/minecraft/class_3124$class_5876;
      named createTarget Lnet/minecraft/world/gen/feature/OreFeatureConfig;createTarget(Lnet/minecraft/structure/rule/RuleTest;Lnet/minecraft/block/BlockState;)Lnet/minecraft/world/gen/feature/OreFeatureConfig$Target;