Package net.minecraft.resource
Record Class ProfiledResourceReload.Summary
java.lang.Object
java.lang.Record
net.minecraft.resource.ProfiledResourceReload.Summary
- Record Components:
- name-
- prepareTimeMs-
- applyTimeMs-
- Enclosing class:
- ProfiledResourceReload
public static record ProfiledResourceReload.Summary(String name, AtomicLong prepareTimeMs, AtomicLong applyTimeMs)
extends Record
The profiling summary for each reloader in the reload.
- Mappings:
- Namespace - Name - named - net/minecraft/resource/ProfiledResourceReload$Summary- intermediary - net/minecraft/class_4010$class_4046- official - auk$a- named - name- intermediary - comp_3206- official - a- named - prepareTimeMs- intermediary - comp_3207- official - b- named - applyTimeMs- intermediary - comp_3208- official - c
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final AtomicLongThe field for theapplyTimeMsrecord component.private final StringThe field for thenamerecord component.private final AtomicLongThe field for theprepareTimeMsrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theapplyTimeMsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.Returns the value of theprepareTimeMsrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
nameThe field for thenamerecord component.
- 
prepareTimeMsThe field for theprepareTimeMsrecord component.
- 
applyTimeMsThe field for theapplyTimeMsrecord component.
 
- 
- 
Constructor Details- 
Summary- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/resource/ProfiledResourceReload$Summary;<init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)V- intermediary - <init>- Lnet/minecraft/class_4010$class_4046;<init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)V- official - <init>- Lauk$a;<init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)V
 
 
- 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
nameReturns the value of thenamerecord component.- Returns:
- the value of the namerecord component
 
- 
prepareTimeMsReturns the value of theprepareTimeMsrecord component.- Returns:
- the value of the prepareTimeMsrecord component
 
- 
applyTimeMsReturns the value of theapplyTimeMsrecord component.- Returns:
- the value of the applyTimeMsrecord component
 
 
-