Class ConstantFloatProvider
java.lang.Object
net.minecraft.util.math.floatprovider.FloatProvider
net.minecraft.util.math.floatprovider.ConstantFloatProvider
- All Implemented Interfaces:
FloatSupplier
- Mappings:
Namespace Name named net/minecraft/util/math/floatprovider/ConstantFloatProvider
intermediary net/minecraft/class_5862
official bsj
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<ConstantFloatProvider> private final float
static final ConstantFloatProvider
Fields inherited from class net.minecraft.util.math.floatprovider.FloatProvider
VALUE_CODEC
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.util.math.floatprovider.FloatProvider
createValidatedCodec
-
Field Details
-
ZERO
- Mappings:
Namespace Name Mixin selector named ZERO
Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;ZERO:Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;
intermediary field_29003
Lnet/minecraft/class_5862;field_29003:Lnet/minecraft/class_5862;
official a
Lbsj;a:Lbsj;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_29004
Lnet/minecraft/class_5862;field_29004:Lcom/mojang/serialization/MapCodec;
official b
Lbsj;b:Lcom/mojang/serialization/MapCodec;
-
value
private final float value- Mappings:
Namespace Name Mixin selector named value
Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;value:F
intermediary field_29005
Lnet/minecraft/class_5862;field_29005:F
official d
Lbsj;d:F
-
-
Constructor Details
-
ConstantFloatProvider
private ConstantFloatProvider(float value) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;<init>(F)V
intermediary <init>
Lnet/minecraft/class_5862;<init>(F)V
official <init>
Lbsj;<init>(F)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;create(F)Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;
intermediary method_33908
Lnet/minecraft/class_5862;method_33908(F)Lnet/minecraft/class_5862;
official a
Lbsj;a(F)Lbsj;
-
getValue
public float getValue()- Mappings:
Namespace Name Mixin selector named getValue
Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;getValue()F
intermediary method_33914
Lnet/minecraft/class_5862;method_33914()F
official d
Lbsj;d()F
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/util/math/floatprovider/FloatSupplier;get(Lnet/minecraft/util/math/random/Random;)F
intermediary method_33920
Lnet/minecraft/class_7373;method_33920(Lnet/minecraft/class_5819;)F
official a
Lbsq;a(Lbam;)F
-
getMin
public float getMin()- Specified by:
getMin
in classFloatProvider
- Mappings:
Namespace Name Mixin selector named getMin
Lnet/minecraft/util/math/floatprovider/FloatProvider;getMin()F
intermediary method_33915
Lnet/minecraft/class_5863;method_33915()F
official a
Lbsl;a()F
-
getMax
public float getMax()- Specified by:
getMax
in classFloatProvider
- Mappings:
Namespace Name Mixin selector named getMax
Lnet/minecraft/util/math/floatprovider/FloatProvider;getMax()F
intermediary method_33921
Lnet/minecraft/class_5863;method_33921()F
official b
Lbsl;b()F
-
getType
- Specified by:
getType
in classFloatProvider
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/util/math/floatprovider/FloatProvider;getType()Lnet/minecraft/util/math/floatprovider/FloatProviderType;
intermediary method_33923
Lnet/minecraft/class_5863;method_33923()Lnet/minecraft/class_5864;
official c
Lbsl;c()Lbsm;
-
toString
-