Package net.minecraft.util
Class CubicSampler
java.lang.Object
net.minecraft.util.CubicSampler
public class CubicSampler extends Object
- Mappings:
Namespace Name official net/minecraft/util/CubicSampler
intermediary net/minecraft/util/CubicSampler
named net/minecraft/util/CubicSampler
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CubicSampler.RgbFetcher
-
Field Summary
Fields Modifier and Type Field Description private static double[]
DENSITY_CURVE
-
Constructor Summary
Constructors Constructor Description CubicSampler()
-
Method Summary
Modifier and Type Method Description static Vec3d
sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)
-
Field Details
-
DENSITY_CURVE
private static final double[] DENSITY_CURVE- Mappings:
Namespace Name Mixin selector official a
Lnet/minecraft/util/CubicSampler;a:[D
intermediary field_22449
Lnet/minecraft/util/CubicSampler;field_22449:[D
named DENSITY_CURVE
Lnet/minecraft/util/CubicSampler;DENSITY_CURVE:[D
-
-
Constructor Details
-
CubicSampler
public CubicSampler()
-
-
Method Details
-
sampleColor
@Environment(CLIENT) public static Vec3d sampleColor(Vec3d pos, CubicSampler.RgbFetcher rgbFetcher)- Mappings:
Namespace Name Mixin selector official a
Lnet/minecraft/util/CubicSampler;a(Ldiu;Lnet/minecraft/util/CubicSampler$Vec3Fetcher;)Ldiu;
intermediary method_24895
Lnet/minecraft/util/CubicSampler;method_24895(Lnet/minecraft/class_243;Lnet/minecraft/util/CubicSampler$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;
-