Record Class GameEventDebugRenderer.Entry

java.lang.Object
java.lang.Record
net.minecraft.client.render.debug.GameEventDebugRenderer.Entry
Record Components:
startingMs -
event -
pos -
Enclosing class:
GameEventDebugRenderer

@Environment(CLIENT) private static record GameEventDebugRenderer.Entry(long startingMs, RegistryKey<GameEvent> event, Vec3d pos) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/debug/GameEventDebugRenderer$Entry
intermediary net/minecraft/class_5739$class_5740
official gqb$a
named startingMs
intermediary comp_678
official a
named event
intermediary comp_679
official b
named pos
intermediary comp_680
official c
  • Field Details Link icon

    • startingMs Link icon

      private final long startingMs
      The field for the startingMs record component.
    • event Link icon

      private final RegistryKey<GameEvent> event
      The field for the event record component.
    • pos Link icon

      private final Vec3d pos
      The field for the pos record component.
  • Constructor Details Link icon

    • Entry Link icon

      Entry(long startingMs, RegistryKey<GameEvent> registryKey, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Entry;<init>(JLnet/minecraft/registry/RegistryKey;Lnet/minecraft/util/math/Vec3d;)V
      intermediary <init> Lnet/minecraft/class_5739$class_5740;<init>(JLnet/minecraft/class_5321;Lnet/minecraft/class_243;)V
      official <init> Lgqb$a;<init>(JLaku;Lfbb;)V
  • Method Details Link icon

    • hasExpired Link icon

      public boolean hasExpired()
      Mappings:
      Namespace Name Mixin selector
      named hasExpired Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Entry;hasExpired()Z
      intermediary method_33093 Lnet/minecraft/class_5739$class_5740;method_33093()Z
      official a Lgqb$a;a()Z
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • startingMs Link icon

      public long startingMs()
      Returns the value of the startingMs record component.
      Returns:
      the value of the startingMs record component
    • event Link icon

      public RegistryKey<GameEvent> event()
      Returns the value of the event record component.
      Returns:
      the value of the event record component
    • pos Link icon

      public Vec3d pos()
      Returns the value of the pos record component.
      Returns:
      the value of the pos record component