Package net.minecraft.nbt
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final SnbtParsing.Radix
The field for thebase
record component.private final String
The field for thedigits
record component.private final SnbtParsing.Sign
The field for thesign
record component.private final SnbtParsing.NumberSuffix
The field for thesuffix
record component. -
Constructor Summary
ConstructorsConstructorDescriptionIntValue
(SnbtParsing.Sign sign, SnbtParsing.Radix radix, String string, SnbtParsing.NumberSuffix numberSuffix) -
Method Summary
Modifier and TypeMethodDescriptionbase()
Returns the value of thebase
record component.<T> T
decode
(com.mojang.serialization.DynamicOps<T> ops, SnbtParsing.NumericType type, ParsingState<?> state) <T> T
decode
(com.mojang.serialization.DynamicOps<T> ops, ParsingState<?> state) digits()
Returns the value of thedigits
record component.final boolean
Indicates whether some other object is "equal to" this one.private SnbtParsing.Signedness
final int
hashCode()
Returns a hash code value for this object.sign()
Returns the value of thesign
record component.suffix()
Returns the value of thesuffix
record component.final String
toString()
Returns a string representation of this record class.private String
toString
(SnbtParsing.Sign sign)
-
Field Details
-
Constructor Details
-
IntValue
IntValue(SnbtParsing.Sign sign, SnbtParsing.Radix radix, String string, SnbtParsing.NumberSuffix numberSuffix)
-
-
Method Details
-
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
- 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
- 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
@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
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. -
hashCode
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. -
equals
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 withObjects::equals(Object,Object)
. -
sign
Returns the value of thesign
record component.- Returns:
- the value of the
sign
record component
-
base
Returns the value of thebase
record component.- Returns:
- the value of the
base
record component
-
digits
Returns the value of thedigits
record component.- Returns:
- the value of the
digits
record component
-
suffix
Returns the value of thesuffix
record component.- Returns:
- the value of the
suffix
record component
-