Class ConstantIntProvider

java.lang.Object
net.minecraft.util.math.intprovider.IntProvider
net.minecraft.util.math.intprovider.ConstantIntProvider

public class ConstantIntProvider extends IntProvider
Mappings:
Namespace Name
official aut
intermediary net/minecraft/class_6016
named net/minecraft/util/math/intprovider/ConstantIntProvider
  • Field Details

    • ZERO

      public static final ConstantIntProvider ZERO
      Mappings:
      Namespace Name Mixin selector
      official a Laut;a:Laut;
      intermediary field_29942 Lnet/minecraft/class_6016;field_29942:Lnet/minecraft/class_6016;
      named ZERO Lnet/minecraft/util/math/intprovider/ConstantIntProvider;ZERO:Lnet/minecraft/util/math/intprovider/ConstantIntProvider;
    • CODEC

      public static final com.mojang.serialization.Codec<ConstantIntProvider> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Laut;b:Lcom/mojang/serialization/Codec;
      intermediary field_29943 Lnet/minecraft/class_6016;field_29943:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/util/math/intprovider/ConstantIntProvider;CODEC:Lcom/mojang/serialization/Codec;
    • value

      private final int value
      Mappings:
      Namespace Name Mixin selector
      official f Laut;f:I
      intermediary field_29944 Lnet/minecraft/class_6016;field_29944:I
      named value Lnet/minecraft/util/math/intprovider/ConstantIntProvider;value:I
  • Constructor Details

    • ConstantIntProvider

      private ConstantIntProvider(int value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laut;<init>(I)V
      intermediary <init> Lnet/minecraft/class_6016;<init>(I)V
      named <init> Lnet/minecraft/util/math/intprovider/ConstantIntProvider;<init>(I)V
  • Method Details

    • create

      public static ConstantIntProvider create(int value)
      Mappings:
      Namespace Name Mixin selector
      official a Laut;a(I)Laut;
      intermediary method_34998 Lnet/minecraft/class_6016;method_34998(I)Lnet/minecraft/class_6016;
      named create Lnet/minecraft/util/math/intprovider/ConstantIntProvider;create(I)Lnet/minecraft/util/math/intprovider/ConstantIntProvider;
    • getValue

      public int getValue()
      Mappings:
      Namespace Name Mixin selector
      official d Laut;d()I
      intermediary method_34997 Lnet/minecraft/class_6016;method_34997()I
      named getValue Lnet/minecraft/util/math/intprovider/ConstantIntProvider;getValue()I
    • get

      public int get(Random random)
      Specified by:
      get in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a(Ljava/util/Random;)I
      intermediary method_35008 Lnet/minecraft/class_6017;method_35008(Ljava/util/Random;)I
      named get Lnet/minecraft/util/math/intprovider/IntProvider;get(Ljava/util/Random;)I
    • getMin

      public int getMin()
      Specified by:
      getMin in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lauw;a()I
      intermediary method_35009 Lnet/minecraft/class_6017;method_35009()I
      named getMin Lnet/minecraft/util/math/intprovider/IntProvider;getMin()I
    • getMax

      public int getMax()
      Specified by:
      getMax in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official b Lauw;b()I
      intermediary method_35011 Lnet/minecraft/class_6017;method_35011()I
      named getMax Lnet/minecraft/util/math/intprovider/IntProvider;getMax()I
    • getType

      public IntProviderType<?> getType()
      Specified by:
      getType in class IntProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lauw;c()Lauy;
      intermediary method_35012 Lnet/minecraft/class_6017;method_35012()Lnet/minecraft/class_6018;
      named getType Lnet/minecraft/util/math/intprovider/IntProvider;getType()Lnet/minecraft/util/math/intprovider/IntProviderType;
    • toString

      public String toString()
      Overrides:
      toString in class Object