Class CubicSampler

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

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

    • FIRST_SEGMENT_OFFSET

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

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

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

    • CubicSampler

      private CubicSampler()
  • Method Details

    • sampleColor

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