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, GameEvent event, Vec3d pos) extends Record
Mappings:
Namespace Name
official fmn$a
intermediary net/minecraft/class_5739$class_5740
named net/minecraft/client/render/debug/GameEventDebugRenderer$Entry
official a
intermediary comp_678
named startingMs
official b
intermediary comp_679
named event
official c
intermediary comp_680
named pos
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final GameEvent
    The field for the event record component.
    private final Vec3d
    The field for the pos record component.
    private final long
    The field for the startingMs record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Entry(long startingMs, GameEvent event, Vec3d pos)
    Creates an instance of a Entry record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    Returns the value of the event record component.
    boolean
     
    final int
    Returns a hash code value for this object.
    pos()
    Returns the value of the pos record component.
    long
    Returns the value of the startingMs record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • startingMs

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

      private final GameEvent event
      The field for the event record component.
    • pos

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

    • Entry

      Entry(long startingMs, GameEvent event, Vec3d pos)
      Creates an instance of a Entry record class.
      Parameters:
      startingMs - the value for the startingMs record component
      event - the value for the event record component
      pos - the value for the pos record component
  • Method Details

    • hasExpired

      public boolean hasExpired()
      Mappings:
      Namespace Name Mixin selector
      official a Lfmn$a;a()Z
      intermediary method_33093 Lnet/minecraft/class_5739$class_5740;method_33093()Z
      named hasExpired Lnet/minecraft/client/render/debug/GameEventDebugRenderer$Entry;hasExpired()Z
    • toString

      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

      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

      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

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

      public GameEvent event()
      Returns the value of the event record component.
      Returns:
      the value of the event record component
    • pos

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