Record Class ProfiledResourceReload.Summary

java.lang.Object
java.lang.Record
net.minecraft.resource.ProfiledResourceReload.Summary
Record Components:
name -
prepareTimeMs -
preparationCount -
applyTimeMs -
reloadCount -
Enclosing class:
ProfiledResourceReload

public static record ProfiledResourceReload.Summary(String name, AtomicLong prepareTimeMs, AtomicLong preparationCount, AtomicLong applyTimeMs, AtomicLong reloadCount) 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 avj$a
named name
intermediary comp_3206
official a
named prepareTimeMs
intermediary comp_3207
official b
named preparationCount
intermediary comp_3687
official c
named applyTimeMs
intermediary comp_3208
official d
named reloadCount
intermediary comp_3688
official e
  • Field Details Link icon

  • Constructor Details Link icon

    • Summary Link icon

      public Summary(String name, AtomicLong atomicLong, AtomicLong atomicLong2, AtomicLong atomicLong3, AtomicLong atomicLong4)
      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;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;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)V
      official <init> Lavj$a;<init>(Ljava/lang/String;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/concurrent/atomic/AtomicLong;)V
  • Method Details Link icon

    • toString Link icon

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object object)
      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 Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • name Link icon

      public String name()
      Returns the value of the name record component.
      Returns:
      the value of the name record component
    • prepareTimeMs Link icon

      public AtomicLong prepareTimeMs()
      Returns the value of the prepareTimeMs record component.
      Returns:
      the value of the prepareTimeMs record component
    • preparationCount Link icon

      public AtomicLong preparationCount()
      Returns the value of the preparationCount record component.
      Returns:
      the value of the preparationCount record component
    • applyTimeMs Link icon

      public AtomicLong applyTimeMs()
      Returns the value of the applyTimeMs record component.
      Returns:
      the value of the applyTimeMs record component
    • reloadCount Link icon

      public AtomicLong reloadCount()
      Returns the value of the reloadCount record component.
      Returns:
      the value of the reloadCount record component