Package net.minecraft
Record Class class_11653.class_11657
java.lang.Object
java.lang.Record
net.minecraft.class_11653.class_11657
- Record Components:
player-level-levelRenderer-timeoutAfter-
- All Implemented Interfaces:
class_11653.class_11655
- Enclosing class:
class_11653
@Environment(CLIENT)
private static record class_11653.class_11657(ClientPlayerEntity player, ClientWorld level, WorldRenderer levelRenderer, long timeoutAfter)
extends Record
implements class_11653.class_11655
- Mappings:
Namespace Name named net/minecraft/class_11653$class_11657intermediary net/minecraft/class_11653$class_11657official guj$dnamed playerintermediary comp_4472official anamed levelintermediary comp_4473official bnamed levelRendererintermediary comp_4474official cnamed timeoutAfterintermediary comp_4475official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientWorldThe field for thelevelrecord component.private final WorldRendererThe field for thelevelRendererrecord component.private final ClientPlayerEntityThe field for theplayerrecord component.private final longThe field for thetimeoutAfterrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_11657(ClientPlayerEntity clientPlayerEntity, ClientWorld clientWorld, WorldRenderer worldRenderer, long long2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.Returns the value of thelevelRendererrecord component.player()Returns the value of theplayerrecord component.longReturns the value of thetimeoutAfterrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.class_11653.class_11655
method_72907
-
Field Details
-
player
The field for theplayerrecord component. -
level
The field for thelevelrecord component. -
levelRenderer
The field for thelevelRendererrecord component. -
timeoutAfter
private final long timeoutAfterThe field for thetimeoutAfterrecord component.
-
-
Constructor Details
-
class_11657
class_11657(ClientPlayerEntity clientPlayerEntity, ClientWorld clientWorld, WorldRenderer worldRenderer, long long2)
-
-
Method Details
-
method_72908
- Specified by:
method_72908in interfaceclass_11653.class_11655- Mappings:
Namespace Name Mixin selector named method_72908Lnet/minecraft/class_11653$class_11655;method_72908()Lnet/minecraft/class_11653$class_11655;intermediary method_72908Lnet/minecraft/class_11653$class_11655;method_72908()Lnet/minecraft/class_11653$class_11655;official cLguj$b;c()Lguj$b;
-
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 '=='. -
player
Returns the value of theplayerrecord component.- Returns:
- the value of the
playerrecord component
-
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
levelRenderer
Returns the value of thelevelRendererrecord component.- Returns:
- the value of the
levelRendererrecord component
-
timeoutAfter
public long timeoutAfter()Returns the value of thetimeoutAfterrecord component.- Returns:
- the value of the
timeoutAfterrecord component
-