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
Mappings:
Namespace Name
official duu
intermediary net/minecraft/class_4443
named net/minecraft/client/realms/task/SwitchSlotTask
  • Field Details

    • worldId

      private final long worldId
      Mappings:
      Namespace Name Mixin selector
      official d Lduu;d: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 e Lduu;e:I
      intermediary field_20243 Lnet/minecraft/class_4443;field_20243:I
      named slot Lnet/minecraft/client/realms/task/SwitchSlotTask;slot:I
    • callback

      private final Runnable callback
      Mappings:
      Namespace Name Mixin selector
      official f Lduu;f: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

      public SwitchSlotTask(long worldId, int slot, Runnable callback)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lduu;<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()