Package net.minecraft.client.realms.task
Class SwitchSlotTask
java.lang.Object
net.minecraft.client.realms.task.LongRunningTask
net.minecraft.client.realms.task.SwitchSlotTask
@Environment(CLIENT) public class SwitchSlotTask extends LongRunningTask
- Mappings:
Namespace Name official dpr
intermediary net/minecraft/class_4443
named net/minecraft/client/realms/task/SwitchSlotTask
-
Field Summary
Fields Modifier and Type Field Description private Runnable
callback
private int
slot
private long
worldId
Fields inherited from class net.minecraft.client.realms.task.LongRunningTask
LOGGER, longRunningMcoTaskScreen
-
Constructor Summary
Constructors Constructor Description SwitchSlotTask(long worldId, int slot, Runnable callback)
-
Method Summary
Modifier and Type Method Description void
run()
Methods inherited from class net.minecraft.client.realms.task.LongRunningTask
aborted, abortTask, error, init, pause, setScreen, setScreen, setTitle, tick
-
Field Details
-
worldId
private final long worldId- Mappings:
Namespace Name Mixin selector official c
Ldpr;c:J
intermediary field_20242
Lnet/minecraft/class_4443;field_20242:J
named worldId
Lnet/minecraft/client/realms/task/SwitchSlotTask;worldId:J
-
slot
private final int slot- Mappings:
Namespace Name Mixin selector official d
Ldpr;d:I
intermediary field_20243
Lnet/minecraft/class_4443;field_20243:I
named slot
Lnet/minecraft/client/realms/task/SwitchSlotTask;slot:I
-
callback
- Mappings:
Namespace Name Mixin selector official e
Ldpr;e:Ljava/lang/Runnable;
intermediary field_22733
Lnet/minecraft/class_4443;field_22733:Ljava/lang/Runnable;
named callback
Lnet/minecraft/client/realms/task/SwitchSlotTask;callback:Ljava/lang/Runnable;
-
-
Constructor Details
-
SwitchSlotTask
- Mappings:
Namespace Name Mixin selector official <init>
Ldpr;<init>(JILjava/lang/Runnable;)V
intermediary <init>
Lnet/minecraft/class_4443;<init>(JILjava/lang/Runnable;)V
named <init>
Lnet/minecraft/client/realms/task/SwitchSlotTask;<init>(JILjava/lang/Runnable;)V
-
-
Method Details
-
run
public void run()- Mappings:
Namespace Name Mixin selector official run
Ldpr;run()V
intermediary run
Lnet/minecraft/class_4443;run()V
named run
Lnet/minecraft/client/realms/task/SwitchSlotTask;run()V
-