Class ConstantFloatProvider

java.lang.Object
net.minecraft.util.math.floatprovider.FloatProvider
net.minecraft.util.math.floatprovider.ConstantFloatProvider

public class ConstantFloatProvider extends FloatProvider
Mappings:
Namespace Name
official aus
intermediary net/minecraft/class_5862
named net/minecraft/util/math/floatprovider/ConstantFloatProvider
  • Field Details

    • ZERO

      public static final ConstantFloatProvider ZERO
      Mappings:
      Namespace Name Mixin selector
      official a Laus;a:Laus;
      intermediary field_29003 Lnet/minecraft/class_5862;field_29003:Lnet/minecraft/class_5862;
      named ZERO Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;ZERO:Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;
    • CODEC

      public static final com.mojang.serialization.Codec<ConstantFloatProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Laus;b:Lcom/mojang/serialization/Codec;
      intermediary field_29004 Lnet/minecraft/class_5862;field_29004:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;CODEC:Lcom/mojang/serialization/Codec;
    • value

      private final float value
      Mappings:
      Namespace Name Mixin selector
      official d Laus;d:F
      intermediary field_29005 Lnet/minecraft/class_5862;field_29005:F
      named value Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;value:F
  • Constructor Details

    • ConstantFloatProvider

      private ConstantFloatProvider(float value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laus;<init>(F)V
      intermediary <init> Lnet/minecraft/class_5862;<init>(F)V
      named <init> Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;<init>(F)V
  • Method Details

    • create

      public static ConstantFloatProvider create(float value)
      Mappings:
      Namespace Name Mixin selector
      official a Laus;a(F)Laus;
      intermediary method_33908 Lnet/minecraft/class_5862;method_33908(F)Lnet/minecraft/class_5862;
      named create Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;create(F)Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;
    • getValue

      public float getValue()
      Mappings:
      Namespace Name Mixin selector
      official d Laus;d()F
      intermediary method_33914 Lnet/minecraft/class_5862;method_33914()F
      named getValue Lnet/minecraft/util/math/floatprovider/ConstantFloatProvider;getValue()F
    • get

      public float get(Random random)
      Specified by:
      get in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lauu;a(Ljava/util/Random;)F
      intermediary method_33920 Lnet/minecraft/class_5863;method_33920(Ljava/util/Random;)F
      named get Lnet/minecraft/util/math/floatprovider/FloatProvider;get(Ljava/util/Random;)F
    • getMin

      public float getMin()
      Specified by:
      getMin in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lauu;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 class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official b Lauu;b()F
      intermediary method_33921 Lnet/minecraft/class_5863;method_33921()F
      named getMax Lnet/minecraft/util/math/floatprovider/FloatProvider;getMax()F
    • getType

      public FloatProviderType<?> getType()
      Specified by:
      getType in class FloatProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lauu;c()Lauv;
      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

      public String toString()
      Overrides:
      toString in class Object