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 dpr
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 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

      private final Runnable 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

      public SwitchSlotTask​(long worldId, int slot, Runnable callback)
      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