Class SwitchSlotTask

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

@Environment(CLIENT) public class SwitchSlotTask extends LongRunningTask
Mappings:
Namespace Name
named net/minecraft/client/realms/task/SwitchSlotTask
intermediary net/minecraft/class_4443
official fll
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/task/SwitchSlotTask;LOGGER:Lorg/slf4j/Logger;
      intermediary field_36361 Lnet/minecraft/class_4443;field_36361:Lorg/slf4j/Logger;
      official b Lfll;b:Lorg/slf4j/Logger;
    • TITLE

      private static final Text TITLE
      Mappings:
      Namespace Name Mixin selector
      named TITLE Lnet/minecraft/client/realms/task/SwitchSlotTask;TITLE:Lnet/minecraft/text/Text;
      intermediary field_46140 Lnet/minecraft/class_4443;field_46140:Lnet/minecraft/class_2561;
      official c Lfll;c:Lxv;
    • worldId

      private final long worldId
      Mappings:
      Namespace Name Mixin selector
      named worldId Lnet/minecraft/client/realms/task/SwitchSlotTask;worldId:J
      intermediary field_20242 Lnet/minecraft/class_4443;field_20242:J
      official d Lfll;d:J
    • slot

      private final int slot
      Mappings:
      Namespace Name Mixin selector
      named slot Lnet/minecraft/client/realms/task/SwitchSlotTask;slot:I
      intermediary field_20243 Lnet/minecraft/class_4443;field_20243:I
      official e Lfll;e:I
    • callback

      private final Runnable callback
      Mappings:
      Namespace Name Mixin selector
      named callback Lnet/minecraft/client/realms/task/SwitchSlotTask;callback:Ljava/lang/Runnable;
      intermediary field_22733 Lnet/minecraft/class_4443;field_22733:Ljava/lang/Runnable;
      official f Lfll;f:Ljava/lang/Runnable;
  • Constructor Details

    • SwitchSlotTask

      public SwitchSlotTask(long worldId, int slot, Runnable callback)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/task/SwitchSlotTask;<init>(JILjava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4443;<init>(JILjava/lang/Runnable;)V
      official <init> Lfll;<init>(JILjava/lang/Runnable;)V
  • Method Details

    • run

      public void run()
    • getTitle

      public Text getTitle()
      Specified by:
      getTitle in class LongRunningTask
      Mappings:
      Namespace Name Mixin selector
      named getTitle Lnet/minecraft/client/realms/task/LongRunningTask;getTitle()Lnet/minecraft/text/Text;
      intermediary method_53808 Lnet/minecraft/class_4358;method_53808()Lnet/minecraft/class_2561;
      official a Lfle;a()Lxv;