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$Entryintermediary net/minecraft/class_5739$class_5740official gin$anamed startingMsintermediary comp_678official anamed eventintermediary comp_679official bnamed posintermediary comp_680official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RegistryKey<GameEvent> The field for theeventrecord component.private final Vec3dThe field for theposrecord component.private final longThe field for thestartingMsrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.event()Returns the value of theeventrecord component.booleanfinal inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.longReturns the value of thestartingMsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
startingMs
private final long startingMsThe field for thestartingMsrecord component. -
event
The field for theeventrecord component. -
pos
The field for theposrecord component.
-
-
Constructor Details
-
Entry
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;)Vintermediary <init>Lnet/minecraft/class_5739$class_5740;<init>(JLnet/minecraft/class_5321;Lnet/minecraft/class_243;)Vofficial <init>Lgin$a;<init>(JLakq;Lexc;)V
-
-
Method Details
-
hasExpired
public boolean hasExpired()- Mappings:
Namespace Name Mixin selector named hasExpiredLnet/minecraft/client/render/debug/GameEventDebugRenderer$Entry;hasExpired()Zintermediary method_33093Lnet/minecraft/class_5739$class_5740;method_33093()Zofficial aLgin$a;a()Z
-
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 '=='. -
startingMs
public long startingMs()Returns the value of thestartingMsrecord component.- Returns:
- the value of the
startingMsrecord component
-
event
Returns the value of theeventrecord component.- Returns:
- the value of the
eventrecord component
-
pos
Returns the value of theposrecord component.- Returns:
- the value of the
posrecord component
-