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 hlt$a
named color
intermediary comp_4929
official a
named message
intermediary comp_4930
official b
named removalTime
intermediary comp_4931
official c
  • 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

    • getRed

      public float getRed()
      Mappings:
      Namespace Name Mixin selector
      named getRed Lnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getRed()F
      intermediary method_23112 Lnet/minecraft/class_4503$class_4504;method_23112()F
      official a Lhlt$a;a()F
    • getGreen

      public float getGreen()
      Mappings:
      Namespace Name Mixin selector
      named getGreen Lnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getGreen()F
      intermediary method_23113 Lnet/minecraft/class_4503$class_4504;method_23113()F
      official b Lhlt$a;b()F
    • getBlue

      public float getBlue()
      Mappings:
      Namespace Name Mixin selector
      named getBlue Lnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getBlue()F
      intermediary method_23114 Lnet/minecraft/class_4503$class_4504;method_23114()F
      official c Lhlt$a;c()F
    • getAlpha

      public float getAlpha()
      Mappings:
      Namespace Name Mixin selector
      named getAlpha Lnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getAlpha()F
      intermediary method_23115 Lnet/minecraft/class_4503$class_4504;method_23115()F
      official d Lhlt$a;d()F
    • 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