Class CubicSampler

java.lang.Object
net.minecraft.util.CubicSampler

public class CubicSampler extends Object
Mappings:
Namespace Name
official aoc
intermediary net/minecraft/class_6491
named net/minecraft/util/CubicSampler
  • Field Details

    • FIRST_SEGMENT_OFFSET

      private static final int FIRST_SEGMENT_OFFSET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Laoc;a:I
      intermediary field_33222 Lnet/minecraft/class_6491;field_33222:I
      named FIRST_SEGMENT_OFFSET Lnet/minecraft/util/CubicSampler;FIRST_SEGMENT_OFFSET:I
    • NUM_SEGMENTS

      private static final int NUM_SEGMENTS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Laoc;b:I
      intermediary field_33223 Lnet/minecraft/class_6491;field_33223:I
      named NUM_SEGMENTS Lnet/minecraft/util/CubicSampler;NUM_SEGMENTS:I
    • DENSITY_CURVE

      private static final double[] DENSITY_CURVE
      Mappings:
      Namespace Name Mixin selector
      official c Laoc;c:[D
      intermediary field_22449 Lnet/minecraft/class_6491;field_22449:[D
      named DENSITY_CURVE Lnet/minecraft/util/CubicSampler;DENSITY_CURVE:[D
  • Constructor Details

    • CubicSampler

      private CubicSampler()
  • Method Details

    • sampleColor

      public static Vec3d sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)
      Mappings:
      Namespace Name Mixin selector
      official a Laoc;a(Leei;Laoc$a;)Leei;
      intermediary method_24895 Lnet/minecraft/class_6491;method_24895(Lnet/minecraft/class_243;Lnet/minecraft/class_6491$class_4859;)Lnet/minecraft/class_243;
      named sampleColor Lnet/minecraft/util/CubicSampler;sampleColor(Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/CubicSampler$RgbFetcher;)Lnet/minecraft/util/math/Vec3d;