Record Class GameTestDebugRenderer.Marker

java.lang.Object
java.lang.Record
net.minecraft.client.render.debug.GameTestDebugRenderer.Marker
Record Components:
color -
message -
removalTime -
Enclosing class:
GameTestDebugRenderer

@Environment(CLIENT) private static record GameTestDebugRenderer.Marker(int color, String message, long removalTime) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/debug/GameTestDebugRenderer$Marker
intermediary net/minecraft/class_4503$class_4504
official hpc$a
named color
intermediary comp_4929
official a
named message
intermediary comp_4930
official b
named removalTime
intermediary comp_4931
official c
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final int
    The field for the color record component.
    private final String
    The field for the message record component.
    private final long
    The field for the removalTime record component.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Marker(int color, String message, long removalTime)
    Creates an instance of a Marker record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the color record component.
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    Returns the value of the message record component.
    long
    Returns the value of the removalTime 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

    • color

      private final int color
      The field for the color record component.
    • message

      private final String message
      The field for the message record component.
    • removalTime

      private final long removalTime
      The field for the removalTime record component.
  • Constructor Details

    • Marker

      Marker(int color, String message, long removalTime)
      Creates an instance of a Marker record class.
      Parameters:
      color - the value for the color record component
      message - the value for the message record component
      removalTime - the value for the removalTime record component
  • Method Details

    • 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.
    • color

      public int color()
      Returns the value of the color record component.
      Returns:
      the value of the color record component
    • message

      public String message()
      Returns the value of the message record component.
      Returns:
      the value of the message record component
    • removalTime

      public long removalTime()
      Returns the value of the removalTime record component.
      Returns:
      the value of the removalTime record component