Class OreVeinSampler

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

public final class OreVeinSampler extends Object
Mappings:
Namespace Name
official dlc
intermediary net/minecraft/class_6955
named net/minecraft/world/gen/OreVeinSampler
  • 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
      official a Ldlc;a:F
      intermediary field_36620 Lnet/minecraft/class_6955;field_36620:F
      named DENSITY_THRESHOLD Lnet/minecraft/world/gen/OreVeinSampler;DENSITY_THRESHOLD: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
      official b Ldlc;b:I
      intermediary field_36621 Lnet/minecraft/class_6955;field_36621:I
      named MAX_DENSITY_INTRUSION Lnet/minecraft/world/gen/OreVeinSampler;MAX_DENSITY_INTRUSION: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
      official c Ldlc;c:D
      intermediary field_36622 Lnet/minecraft/class_6955;field_36622:D
      named LIMINAL_DENSITY_REDUCTION Lnet/minecraft/world/gen/OreVeinSampler;LIMINAL_DENSITY_REDUCTION: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
      official d Ldlc;d:F
      intermediary field_36623 Lnet/minecraft/class_6955;field_36623:F
      named BLOCK_GENERATION_CHANCE Lnet/minecraft/world/gen/OreVeinSampler;BLOCK_GENERATION_CHANCE:F
    • MIN_ORE_CHANCE

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

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

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

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

      private static final float VEIN_GAP_THRESHOLD
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Ldlc;i:F
      intermediary field_36628 Lnet/minecraft/class_6955;field_36628:F
      named VEIN_GAP_THRESHOLD Lnet/minecraft/world/gen/OreVeinSampler;VEIN_GAP_THRESHOLD: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
      official a Ldlc;a(Ldkl;Ldkl;Ldkl;Ldlf;)Ldkw$c;
      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;
      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;