Package net.minecraft
Record Class class_8561.class_8562
java.lang.Object
java.lang.Record
net.minecraft.class_8561.class_8562
- Record Components:
millis
-
- Enclosing class:
class_8561
- Mappings:
Namespace Name official fza$a
intermediary net/minecraft/class_8561$class_8562
named net/minecraft/class_8561$class_8562
official b
intermediary comp_1531
named millis
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_8561.class_8562>
private final int
The field for themillis
record component. -
Constructor Summary
Constructors -
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.int
millis()
Returns the value of themillis
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
millis
private final int millisThe field for themillis
record component. -
field_44847
- Mappings:
Namespace Name Mixin selector official a
Lfza$a;a:Lcom/mojang/serialization/Codec;
intermediary field_44847
Lnet/minecraft/class_8561$class_8562;field_44847:Lcom/mojang/serialization/Codec;
named field_44847
Lnet/minecraft/class_8561$class_8562;field_44847:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8562
public class_8562(int int2)
-
-
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 with '=='. -
millis
public int millis()Returns the value of themillis
record component.- Returns:
- the value of the
millis
record component
-