Class OreVeinSampler

java.lang.Object
net.minecraft.world.gen.OreVeinSampler

public final class OreVeinSampler extends Object
Mappings:
Namespace Name
named net/minecraft/world/gen/OreVeinSampler
intermediary net/minecraft/class_6955
official dyg
  • Field Details

    • DENSITY_THRESHOLD

      private static final float DENSITY_THRESHOLD
      The density threshold required to generate any blocks as part of an ore vein.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DENSITY_THRESHOLD Lnet/minecraft/world/gen/OreVeinSampler;DENSITY_THRESHOLD:F
      intermediary field_36620 Lnet/minecraft/class_6955;field_36620:F
      official a Ldyg;a:F
    • MAX_DENSITY_INTRUSION

      private static final int MAX_DENSITY_INTRUSION
      The number of blocks away from the minimum or maximum height at which ores in an ore vein generates at the maximum density.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_DENSITY_INTRUSION Lnet/minecraft/world/gen/OreVeinSampler;MAX_DENSITY_INTRUSION:I
      intermediary field_36621 Lnet/minecraft/class_6955;field_36621:I
      official b Ldyg;b:I
    • LIMINAL_DENSITY_REDUCTION

      private static final double LIMINAL_DENSITY_REDUCTION
      The decrease in density at the minimum or maximum height compared to the maximum density.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named LIMINAL_DENSITY_REDUCTION Lnet/minecraft/world/gen/OreVeinSampler;LIMINAL_DENSITY_REDUCTION:D
      intermediary field_36622 Lnet/minecraft/class_6955;field_36622:D
      official c Ldyg;c:D
    • BLOCK_GENERATION_CHANCE

      private static final float BLOCK_GENERATION_CHANCE
      The probability that a given block will be replaced by an ore vein, given that the density check has passed.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BLOCK_GENERATION_CHANCE Lnet/minecraft/world/gen/OreVeinSampler;BLOCK_GENERATION_CHANCE:F
      intermediary field_36623 Lnet/minecraft/class_6955;field_36623:F
      official d Ldyg;d:F
    • MIN_ORE_CHANCE

      private static final float MIN_ORE_CHANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MIN_ORE_CHANCE Lnet/minecraft/world/gen/OreVeinSampler;MIN_ORE_CHANCE:F
      intermediary field_36624 Lnet/minecraft/class_6955;field_36624:F
      official e Ldyg;e:F
    • MAX_ORE_CHANCE

      private static final float MAX_ORE_CHANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_ORE_CHANCE Lnet/minecraft/world/gen/OreVeinSampler;MAX_ORE_CHANCE:F
      intermediary field_36625 Lnet/minecraft/class_6955;field_36625:F
      official f Ldyg;f:F
    • DENSITY_FOR_MAX_ORE_CHANCE

      private static final float DENSITY_FOR_MAX_ORE_CHANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DENSITY_FOR_MAX_ORE_CHANCE Lnet/minecraft/world/gen/OreVeinSampler;DENSITY_FOR_MAX_ORE_CHANCE:F
      intermediary field_36626 Lnet/minecraft/class_6955;field_36626:F
      official g Ldyg;g:F
    • RAW_ORE_BLOCK_CHANCE

      private static final float RAW_ORE_BLOCK_CHANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named RAW_ORE_BLOCK_CHANCE Lnet/minecraft/world/gen/OreVeinSampler;RAW_ORE_BLOCK_CHANCE:F
      intermediary field_36627 Lnet/minecraft/class_6955;field_36627:F
      official h Ldyg;h:F
    • VEIN_GAP_THRESHOLD

      private static final float VEIN_GAP_THRESHOLD
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named VEIN_GAP_THRESHOLD Lnet/minecraft/world/gen/OreVeinSampler;VEIN_GAP_THRESHOLD:F
      intermediary field_36628 Lnet/minecraft/class_6955;field_36628:F
      official i Ldyg;i:F
  • Constructor Details

    • OreVeinSampler

      private OreVeinSampler()
  • Method Details

    • create

      protected static ChunkNoiseSampler.BlockStateSampler create(DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap, RandomSplitter randomDeriver)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/world/gen/OreVeinSampler;create(Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/world/gen/densityfunction/DensityFunction;Lnet/minecraft/util/math/random/RandomSplitter;)Lnet/minecraft/world/gen/chunk/ChunkNoiseSampler$BlockStateSampler;
      intermediary method_40548 Lnet/minecraft/class_6955;method_40548(Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6910;Lnet/minecraft/class_6574;)Lnet/minecraft/class_6568$class_6569;
      official a Ldyg;a(Ldxp;Ldxp;Ldxp;Ldyj;)Ldya$c;