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
official eup
intermediary net/minecraft/class_4443
named net/minecraft/client/realms/task/SwitchSlotTask
  • Field Details

    • LOGGER

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

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

      private final long worldId
      Mappings:
      Namespace Name Mixin selector
      official d Leup;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 Leup;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 Leup;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> Leup;<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()
    • getTitle

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