Class SwitchSlotTask

java.lang.Object
net.minecraft.client.realms.task.LongRunningTask
net.minecraft.client.realms.task.SwitchSlotTask
All Implemented Interfaces:
Runnable, Errable

@Environment(CLIENT)
public class SwitchSlotTask
extends LongRunningTask
  • Field Details

    • worldId

      private final long worldId
    • slot

      private final int slot
    • callback

      private final Runnable callback
  • Constructor Details

    • SwitchSlotTask

      public SwitchSlotTask​(long worldId, int slot, Runnable callback)
  • Method Details

    • run

      public void run()