Interface WeightSampler

All Known Implementing Classes:
NoiseCaveSampler, NoiseChunkGenerator.NoodleCavesSampler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface WeightSampler
Mappings:
Namespace Name
official cpw
intermediary net/minecraft/class_6357
named net/minecraft/world/gen/chunk/WeightSampler
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    sample​(double weight, int x, int y, int z)
     
  • Field Details

    • DEFAULT

      static final WeightSampler DEFAULT
      Mappings:
      Namespace Name Mixin selector
      official b Lcpw;b:Lcpw;
      intermediary field_33652 Lnet/minecraft/class_6357;field_33652:Lnet/minecraft/class_6357;
      named DEFAULT Lnet/minecraft/world/gen/chunk/WeightSampler;DEFAULT:Lnet/minecraft/world/gen/chunk/WeightSampler;
  • Method Details

    • sample

      double sample(double weight, int x, int y, int z)
      Mappings:
      Namespace Name Mixin selector
      official modifyNoise Lcpw;modifyNoise(DIII)D
      intermediary method_33747 Lnet/minecraft/class_6357;method_33747(DIII)D
      named sample Lnet/minecraft/world/gen/chunk/WeightSampler;sample(DIII)D