Interface DensityFunctionTypes.Offset

All Superinterfaces:
DensityFunction
All Known Implementing Classes:
DensityFunctionTypes.Shift, DensityFunctionTypes.ShiftA, DensityFunctionTypes.ShiftB
Enclosing class:
DensityFunctionTypes

static interface DensityFunctionTypes.Offset extends DensityFunction
Mappings:
Namespace Name
official dok$u
intermediary net/minecraft/class_6916$class_6939
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$Offset
  • Method Details

    • offsetNoise

      DensityFunction.Noise offsetNoise()
      Mappings:
      Namespace Name Mixin selector
      official j Ldok$u;j()Ldoj$c;
      intermediary comp_395 Lnet/minecraft/class_6916$class_6939;comp_395()Lnet/minecraft/class_6910$class_7270;
      named offsetNoise Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Offset;offsetNoise()Lnet/minecraft/world/gen/densityfunction/DensityFunction$Noise;
    • minValue

      default double minValue()
      Specified by:
      minValue in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official a Ldoj;a()D
      intermediary comp_377 Lnet/minecraft/class_6910;comp_377()D
      named minValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
    • maxValue

      default double maxValue()
      Specified by:
      maxValue in interface DensityFunction
      Mappings:
      Namespace Name Mixin selector
      official b Ldoj;b()D
      intermediary comp_378 Lnet/minecraft/class_6910;comp_378()D
      named maxValue Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
    • sample

      default double sample(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official a Ldok$u;a(DDD)D
      intermediary method_40525 Lnet/minecraft/class_6916$class_6939;method_40525(DDD)D
      named sample Lnet/minecraft/world/gen/densityfunction/DensityFunctionTypes$Offset;sample(DDD)D
    • fill

      default void fill(double[] densities, DensityFunction.EachApplier applier)
      Fills an array of densities using this density function and the DensityFunction.EachApplier.
      Specified by:
      fill in interface DensityFunction
      Parameters:
      densities - the array of densities to fill, like a buffer or a cache
      applier - the EachApplier to use. It has a method for filling the array, as well as to get a block position for an index
      Mappings:
      Namespace Name Mixin selector
      official a Ldoj;a([DLdoj$a;)V
      intermediary method_40470 Lnet/minecraft/class_6910;method_40470([DLnet/minecraft/class_6910$class_6911;)V
      named fill Lnet/minecraft/world/gen/densityfunction/DensityFunction;fill([DLnet/minecraft/world/gen/densityfunction/DensityFunction$EachApplier;)V