Class TrapezoidFloatProvider
java.lang.Object
net.minecraft.util.math.floatprovider.FloatProvider
net.minecraft.util.math.floatprovider.TrapezoidFloatProvider
- All Implemented Interfaces:
FloatSupplier
- Mappings:
Namespace Name official bjk
intermediary net/minecraft/class_5865
named net/minecraft/util/math/floatprovider/TrapezoidFloatProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<TrapezoidFloatProvider>
private final float
private final float
private final float
Fields inherited from class net.minecraft.util.math.floatprovider.FloatProvider
VALUE_CODEC
-
Constructor Summary
ModifierConstructorDescriptionprivate
TrapezoidFloatProvider
(float min, float max, float plateau) -
Method Summary
Methods inherited from class net.minecraft.util.math.floatprovider.FloatProvider
createValidatedCodec
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lbjk;a:Lcom/mojang/serialization/Codec;
intermediary field_29012
Lnet/minecraft/class_5865;field_29012:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;CODEC:Lcom/mojang/serialization/Codec;
-
min
private final float min- Mappings:
Namespace Name Mixin selector official b
Lbjk;b:F
intermediary field_29013
Lnet/minecraft/class_5865;field_29013:F
named min
Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;min:F
-
max
private final float max- Mappings:
Namespace Name Mixin selector official d
Lbjk;d:F
intermediary field_29014
Lnet/minecraft/class_5865;field_29014:F
named max
Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;max:F
-
plateau
private final float plateau- Mappings:
Namespace Name Mixin selector official e
Lbjk;e:F
intermediary field_29015
Lnet/minecraft/class_5865;field_29015:F
named plateau
Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;plateau:F
-
-
Constructor Details
-
TrapezoidFloatProvider
private TrapezoidFloatProvider(float min, float max, float plateau) - Mappings:
Namespace Name Mixin selector official <init>
Lbjk;<init>(FFF)V
intermediary <init>
Lnet/minecraft/class_5865;<init>(FFF)V
named <init>
Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;<init>(FFF)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official a
Lbjk;a(FFF)Lbjk;
intermediary method_33926
Lnet/minecraft/class_5865;method_33926(FFF)Lnet/minecraft/class_5865;
named create
Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;create(FFF)Lnet/minecraft/util/math/floatprovider/TrapezoidFloatProvider;
-
get
- Mappings:
Namespace Name Mixin selector official a
Lbjj;a(Lauv;)F
intermediary method_33920
Lnet/minecraft/class_7373;method_33920(Lnet/minecraft/class_5819;)F
named get
Lnet/minecraft/util/math/floatprovider/FloatSupplier;get(Lnet/minecraft/util/math/random/Random;)F
-
getMin
public float getMin()- Specified by:
getMin
in classFloatProvider
- Mappings:
Namespace Name Mixin selector official a
Lbje;a()F
intermediary method_33915
Lnet/minecraft/class_5863;method_33915()F
named getMin
Lnet/minecraft/util/math/floatprovider/FloatProvider;getMin()F
-
getMax
public float getMax()- Specified by:
getMax
in classFloatProvider
- Mappings:
Namespace Name Mixin selector official b
Lbje;b()F
intermediary method_33921
Lnet/minecraft/class_5863;method_33921()F
named getMax
Lnet/minecraft/util/math/floatprovider/FloatProvider;getMax()F
-
getType
- Specified by:
getType
in classFloatProvider
- Mappings:
Namespace Name Mixin selector official c
Lbje;c()Lbjf;
intermediary method_33923
Lnet/minecraft/class_5863;method_33923()Lnet/minecraft/class_5864;
named getType
Lnet/minecraft/util/math/floatprovider/FloatProvider;getType()Lnet/minecraft/util/math/floatprovider/FloatProviderType;
-
toString
-