Class FloatProvider
java.lang.Object
net.minecraft.util.math.floatprovider.FloatProvider
- All Implemented Interfaces:
FloatSupplier
- Direct Known Subclasses:
ClampedNormalFloatProvider
,ConstantFloatProvider
,TrapezoidFloatProvider
,UniformFloatProvider
- Mappings:
Namespace Name official bdb
intermediary net/minecraft/class_5863
named net/minecraft/util/math/floatprovider/FloatProvider
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Float,
FloatProvider>> static final com.mojang.serialization.Codec<FloatProvider>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.mojang.serialization.Codec<FloatProvider>
createValidatedCodec
(float min, float max) abstract float
getMax()
abstract float
getMin()
abstract FloatProviderType<?>
getType()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.util.math.floatprovider.FloatSupplier
get
-
Field Details
-
FLOAT_CODEC
private static final com.mojang.serialization.Codec<com.mojang.datafixers.util.Either<Float,FloatProvider>> FLOAT_CODEC- Mappings:
Namespace Name Mixin selector official a
Lbdb;a:Lcom/mojang/serialization/Codec;
intermediary field_29006
Lnet/minecraft/class_5863;field_29006:Lcom/mojang/serialization/Codec;
named FLOAT_CODEC
Lnet/minecraft/util/math/floatprovider/FloatProvider;FLOAT_CODEC:Lcom/mojang/serialization/Codec;
-
VALUE_CODEC
- Mappings:
Namespace Name Mixin selector official c
Lbdb;c:Lcom/mojang/serialization/Codec;
intermediary field_29007
Lnet/minecraft/class_5863;field_29007:Lcom/mojang/serialization/Codec;
named VALUE_CODEC
Lnet/minecraft/util/math/floatprovider/FloatProvider;VALUE_CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
FloatProvider
public FloatProvider()
-
-
Method Details
-
createValidatedCodec
public static com.mojang.serialization.Codec<FloatProvider> createValidatedCodec(float min, float max) - Mappings:
Namespace Name Mixin selector official a
Lbdb;a(FF)Lcom/mojang/serialization/Codec;
intermediary method_33916
Lnet/minecraft/class_5863;method_33916(FF)Lcom/mojang/serialization/Codec;
named createValidatedCodec
Lnet/minecraft/util/math/floatprovider/FloatProvider;createValidatedCodec(FF)Lcom/mojang/serialization/Codec;
-
getMin
public abstract float getMin()- Mappings:
Namespace Name Mixin selector official a
Lbdb;a()F
intermediary method_33915
Lnet/minecraft/class_5863;method_33915()F
named getMin
Lnet/minecraft/util/math/floatprovider/FloatProvider;getMin()F
-
getMax
public abstract float getMax()- Mappings:
Namespace Name Mixin selector official b
Lbdb;b()F
intermediary method_33921
Lnet/minecraft/class_5863;method_33921()F
named getMax
Lnet/minecraft/util/math/floatprovider/FloatProvider;getMax()F
-
getType
- Mappings:
Namespace Name Mixin selector official c
Lbdb;c()Lbdc;
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;
-