Record Class SnbtParsing.IntValue

java.lang.Object
java.lang.Record
net.minecraft.nbt.SnbtParsing.IntValue
Record Components:
sign -
base -
digits -
suffix -
Enclosing class:
SnbtParsing

private static record SnbtParsing.IntValue(SnbtParsing.Sign sign, SnbtParsing.Radix base, String digits, SnbtParsing.NumberSuffix suffix) extends Record
Mappings:
Namespace Name
named net/minecraft/nbt/SnbtParsing$IntValue
intermediary net/minecraft/class_10900$class_10903
official uu$c
named sign
intermediary comp_3823
official a
named base
intermediary comp_3824
official b
named digits
intermediary comp_3825
official c
named suffix
intermediary comp_3826
official d
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • getSignedness Link icon

      private SnbtParsing.Signedness getSignedness()
      Mappings:
      Namespace Name Mixin selector
      named getSignedness Lnet/minecraft/nbt/SnbtParsing$IntValue;getSignedness()Lnet/minecraft/nbt/SnbtParsing$Signedness;
      intermediary method_68652 Lnet/minecraft/class_10900$class_10903;method_68652()Lnet/minecraft/class_10900$class_10907;
      official e Luu$c;e()Luu$g;
    • toString Link icon

      private String toString(SnbtParsing.Sign sign)
      Mappings:
      Namespace Name Mixin selector
      named toString Lnet/minecraft/nbt/SnbtParsing$IntValue;toString(Lnet/minecraft/nbt/SnbtParsing$Sign;)Ljava/lang/String;
      intermediary method_68651 Lnet/minecraft/class_10900$class_10903;method_68651(Lnet/minecraft/class_10900$class_10905;)Ljava/lang/String;
      official a Luu$c;a(Luu$e;)Ljava/lang/String;
    • decode Link icon

      @Nullable public <T> T decode(com.mojang.serialization.DynamicOps<T> ops, ParsingState<?> state)
      Mappings:
      Namespace Name Mixin selector
      named decode Lnet/minecraft/nbt/SnbtParsing$IntValue;decode(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/util/packrat/ParsingState;)Ljava/lang/Object;
      intermediary method_68649 Lnet/minecraft/class_10900$class_10903;method_68649(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_9393;)Ljava/lang/Object;
      official a Luu$c;a(Lcom/mojang/serialization/DynamicOps;Lbqk;)Ljava/lang/Object;
    • decode Link icon

      @Nullable public <T> T decode(com.mojang.serialization.DynamicOps<T> ops, SnbtParsing.NumericType type, ParsingState<?> state)
      Mappings:
      Namespace Name Mixin selector
      named decode Lnet/minecraft/nbt/SnbtParsing$IntValue;decode(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/nbt/SnbtParsing$NumericType;Lnet/minecraft/util/packrat/ParsingState;)Ljava/lang/Object;
      intermediary method_68650 Lnet/minecraft/class_10900$class_10903;method_68650(Lcom/mojang/serialization/DynamicOps;Lnet/minecraft/class_10900$class_10909;Lnet/minecraft/class_9393;)Ljava/lang/Object;
      official a Luu$c;a(Lcom/mojang/serialization/DynamicOps;Luu$i;Lbqk;)Ljava/lang/Object;
    • toString Link icon

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • sign Link icon

      public SnbtParsing.Sign sign()
      Returns the value of the sign record component.
      Returns:
      the value of the sign record component
    • base Link icon

      public SnbtParsing.Radix base()
      Returns the value of the base record component.
      Returns:
      the value of the base record component
    • digits Link icon

      public String digits()
      Returns the value of the digits record component.
      Returns:
      the value of the digits record component
    • suffix Link icon

      public SnbtParsing.NumberSuffix suffix()
      Returns the value of the suffix record component.
      Returns:
      the value of the suffix record component