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 - official - ent$a- intermediary - net/minecraft/class_6877$class_6878- named - net/minecraft/client/resource/PeriodicNotificationManager$Entry- official - a- intermediary - comp_345- named - delay- official - b- intermediary - comp_346- named - period- official - c- intermediary - comp_347- named - title- official - d- intermediary - comp_348- named - message
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongdelay()Returns the value of thedelayrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.longperiod()Returns the value of theperiodrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
delaypublic long delay()Returns the value of thedelayrecord component.- Returns:
- the value of the delayrecord component
 
- 
periodpublic long period()Returns the value of theperiodrecord component.- Returns:
- the value of the periodrecord component
 
- 
titleReturns the value of thetitlerecord component.- Returns:
- the value of the titlerecord component
 
- 
messageReturns the value of themessagerecord component.- Returns:
- the value of the messagerecord component
 
 
-