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$Markerintermediary net/minecraft/class_4503$class_4504official hlt$anamed colorintermediary comp_4929official anamed messageintermediary comp_4930official bnamed removalTimeintermediary comp_4931official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thecolorrecord component.private final StringThe field for themessagerecord component.private final longThe field for theremovalTimerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.floatgetAlpha()floatgetBlue()floatgetGreen()floatgetRed()final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.longReturns the value of theremovalTimerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
color
private final int colorThe field for thecolorrecord component. -
message
The field for themessagerecord component. -
removalTime
private final long removalTimeThe field for theremovalTimerecord component.
-
-
Constructor Details
-
Marker
Marker(int color, String message, long removalTime) Creates an instance of aMarkerrecord class.- Parameters:
color- the value for thecolorrecord componentmessage- the value for themessagerecord componentremovalTime- the value for theremovalTimerecord component
-
-
Method Details
-
getRed
public float getRed()- Mappings:
Namespace Name Mixin selector named getRedLnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getRed()Fintermediary method_23112Lnet/minecraft/class_4503$class_4504;method_23112()Fofficial aLhlt$a;a()F
-
getGreen
public float getGreen()- Mappings:
Namespace Name Mixin selector named getGreenLnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getGreen()Fintermediary method_23113Lnet/minecraft/class_4503$class_4504;method_23113()Fofficial bLhlt$a;b()F
-
getBlue
public float getBlue()- Mappings:
Namespace Name Mixin selector named getBlueLnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getBlue()Fintermediary method_23114Lnet/minecraft/class_4503$class_4504;method_23114()Fofficial cLhlt$a;c()F
-
getAlpha
public float getAlpha()- Mappings:
Namespace Name Mixin selector named getAlphaLnet/minecraft/client/render/debug/GameTestDebugRenderer$Marker;getAlpha()Fintermediary method_23115Lnet/minecraft/class_4503$class_4504;method_23115()Fofficial dLhlt$a;d()F
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
removalTime
public long removalTime()Returns the value of theremovalTimerecord component.- Returns:
- the value of the
removalTimerecord component
-