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
named net/minecraft/world/gen/feature/OreFeatureConfig
intermediary net/minecraft/class_3124
official eem
  • Field Details

    • CODEC

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

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

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

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

    • OreFeatureConfig

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

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

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

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

    • createTarget

      public static OreFeatureConfig.Target createTarget(RuleTest test, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_33994 Lnet/minecraft/class_3124;method_33994(Lnet/minecraft/class_3825;Lnet/minecraft/class_2680;)Lnet/minecraft/class_3124$class_5876;
      official a Leem;a(Lenh;Ldta;)Leem$a;