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
-
Field Summary
Fields Modifier and Type Field Description private Runnablecallbackprivate intslotprivate longworldIdFields 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 voidrun()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 -
slot
private final int slot -
callback
-
-
Constructor Details
-
SwitchSlotTask
-
-
Method Details
-
run
public void run()
-