Package net.minecraft.client.world
Record Class ClientChunkLoadProgress.Start
java.lang.Object
java.lang.Record
net.minecraft.client.world.ClientChunkLoadProgress.Start
- Record Components:
player-world-worldRenderer-timeoutAfter-
- All Implemented Interfaces:
ClientChunkLoadProgress.State
- Enclosing class:
ClientChunkLoadProgress
@Environment(CLIENT)
private static record ClientChunkLoadProgress.Start(ClientPlayerEntity player, ClientWorld world, WorldRenderer worldRenderer, long timeoutAfter)
extends Record
implements ClientChunkLoadProgress.State
- Mappings:
Namespace Name named net/minecraft/client/world/ClientChunkLoadProgress$Startintermediary net/minecraft/class_11653$class_11657official gzv$dnamed playerintermediary comp_4472official anamed worldintermediary comp_4473official bnamed worldRendererintermediary comp_4474official cnamed timeoutAfterintermediary comp_4475official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ClientPlayerEntityThe field for theplayerrecord component.private final longThe field for thetimeoutAfterrecord component.private final ClientWorldThe field for theworldrecord component.private final WorldRendererThe field for theworldRendererrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionStart(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.player()Returns the value of theplayerrecord component.longReturns the value of thetimeoutAfterrecord component.final StringtoString()Returns a string representation of this record class.world()Returns the value of theworldrecord component.Returns the value of theworldRendererrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.client.world.ClientChunkLoadProgress.State
next
-
Field Details
-
player
The field for theplayerrecord component. -
world
The field for theworldrecord component. -
worldRenderer
The field for theworldRendererrecord component. -
timeoutAfter
private final long timeoutAfterThe field for thetimeoutAfterrecord component.
-
-
Constructor Details
-
Start
Start(ClientPlayerEntity clientPlayerEntity, ClientWorld clientWorld, WorldRenderer worldRenderer, long long2)
-
-
Method Details
-
initialChunksComing
- Specified by:
initialChunksComingin interfaceClientChunkLoadProgress.State- Mappings:
Namespace Name Mixin selector named initialChunksComingLnet/minecraft/client/world/ClientChunkLoadProgress$State;initialChunksComing()Lnet/minecraft/client/world/ClientChunkLoadProgress$State;intermediary method_72908Lnet/minecraft/class_11653$class_11655;method_72908()Lnet/minecraft/class_11653$class_11655;official cLgzv$b;c()Lgzv$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
-
world
Returns the value of theworldrecord component.- Returns:
- the value of the
worldrecord component
-
worldRenderer
Returns the value of theworldRendererrecord component.- Returns:
- the value of the
worldRendererrecord component
-
timeoutAfter
public long timeoutAfter()Returns the value of thetimeoutAfterrecord component.- Returns:
- the value of the
timeoutAfterrecord component
-