Package net.minecraft.client.resource
Record Class PeriodicNotificationManager.Entry
java.lang.Object
java.lang.Record
net.minecraft.client.resource.PeriodicNotificationManager.Entry
- Record Components:
delay
-period
-title
-message
-
- Enclosing class:
PeriodicNotificationManager
@Environment(CLIENT)
public static record PeriodicNotificationManager.Entry(long delay, long period, String title, String message)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/resource/PeriodicNotificationManager$Entry
intermediary net/minecraft/class_6877$class_6878
official fmk$a
named delay
intermediary comp_345
official a
named period
intermediary comp_346
official b
named title
intermediary comp_347
official c
named message
intermediary comp_348
official d
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
delay()
Returns the value of thedelay
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.message()
Returns the value of themessage
record component.long
period()
Returns the value of theperiod
record component.title()
Returns the value of thetitle
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
delay
public long delay()Returns the value of thedelay
record component.- Returns:
- the value of the
delay
record component
-
period
public long period()Returns the value of theperiod
record component.- Returns:
- the value of the
period
record component
-
title
Returns the value of thetitle
record component.- Returns:
- the value of the
title
record component
-
message
Returns the value of themessage
record component.- Returns:
- the value of the
message
record component
-