Package net.minecraft.nbt
Record Class SnbtParsing.NumberSuffix
java.lang.Object
java.lang.Record
net.minecraft.nbt.SnbtParsing.NumberSuffix
- Record Components:
signed
-type
-
- Enclosing class:
SnbtParsing
private static record SnbtParsing.NumberSuffix(@Nullable SnbtParsing.Signedness signed, @Nullable SnbtParsing.NumericType type)
extends Record
- Mappings:
Namespace Name named net/minecraft/nbt/SnbtParsing$NumberSuffix
intermediary net/minecraft/class_10900$class_10904
official uu$d
named signed
intermediary comp_3827
official b
named type
intermediary comp_3828
official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SnbtParsing.NumberSuffix
private final @Nullable SnbtParsing.Signedness
The field for thesigned
record component.private final @Nullable SnbtParsing.NumericType
The field for thetype
record component. -
Constructor Summary
ConstructorsConstructorDescriptionNumberSuffix
(@Nullable SnbtParsing.Signedness signedness, @Nullable SnbtParsing.NumericType numericType) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.signed()
Returns the value of thesigned
record component.final String
toString()
Returns a string representation of this record class.type()
Returns the value of thetype
record component.
-
Field Details
-
signed
The field for thesigned
record component. -
type
The field for thetype
record component. -
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULT
Lnet/minecraft/nbt/SnbtParsing$NumberSuffix;DEFAULT:Lnet/minecraft/nbt/SnbtParsing$NumberSuffix;
intermediary field_58013
Lnet/minecraft/class_10900$class_10904;field_58013:Lnet/minecraft/class_10900$class_10904;
official a
Luu$d;a:Luu$d;
-
-
Constructor Details
-
NumberSuffix
NumberSuffix(@Nullable @Nullable SnbtParsing.Signedness signedness, @Nullable @Nullable SnbtParsing.NumericType numericType)
-
-
Method Details
-
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)
. -
signed
Returns the value of thesigned
record component.- Returns:
- the value of the
signed
record component
-
type
Returns the value of thetype
record component.- Returns:
- the value of the
type
record component
-