Class ResettingWorldTask

java.lang.Object
net.minecraft.client.realms.task.LongRunningTask
net.minecraft.client.realms.task.ResettingWorldTask
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
ResettingWorldTemplateTask

@Environment(CLIENT) public abstract class ResettingWorldTask extends LongRunningTask
Mappings:
Namespace Name
named net/minecraft/client/realms/task/ResettingWorldTask
intermediary net/minecraft/class_4440
official fli
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/realms/task/ResettingWorldTask;LOGGER:Lorg/slf4j/Logger;
      intermediary field_36358 Lnet/minecraft/class_4440;field_36358:Lorg/slf4j/Logger;
      official b Lfli;b:Lorg/slf4j/Logger;
    • serverId

      private final long serverId
      Mappings:
      Namespace Name Mixin selector
      named serverId Lnet/minecraft/client/realms/task/ResettingWorldTask;serverId:J
      intermediary field_20232 Lnet/minecraft/class_4440;field_20232:J
      official c Lfli;c:J
    • title

      private final Text title
      Mappings:
      Namespace Name Mixin selector
      named title Lnet/minecraft/client/realms/task/ResettingWorldTask;title:Lnet/minecraft/text/Text;
      intermediary field_20235 Lnet/minecraft/class_4440;field_20235:Lnet/minecraft/class_2561;
      official d Lfli;d:Lxv;
    • callback

      private final Runnable callback
      Mappings:
      Namespace Name Mixin selector
      named callback Lnet/minecraft/client/realms/task/ResettingWorldTask;callback:Ljava/lang/Runnable;
      intermediary field_22732 Lnet/minecraft/class_4440;field_22732:Ljava/lang/Runnable;
      official e Lfli;e:Ljava/lang/Runnable;
  • Constructor Details

    • ResettingWorldTask

      public ResettingWorldTask(long serverId, Text title, Runnable callback)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/realms/task/ResettingWorldTask;<init>(JLnet/minecraft/text/Text;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4440;<init>(JLnet/minecraft/class_2561;Ljava/lang/Runnable;)V
      official <init> Lfli;<init>(JLxv;Ljava/lang/Runnable;)V
  • Method Details

    • resetWorld

      protected abstract void resetWorld(RealmsClient client, long worldId) throws RealmsServiceException
      Throws:
      RealmsServiceException
      Mappings:
      Namespace Name Mixin selector
      named resetWorld Lnet/minecraft/client/realms/task/ResettingWorldTask;resetWorld(Lnet/minecraft/client/realms/RealmsClient;J)V
      intermediary method_32517 Lnet/minecraft/class_4440;method_32517(Lnet/minecraft/class_4341;J)V
      official a Lfli;a(Lfhh;J)V
    • 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;