Class ResettingWorldTask

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

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

    • LOGGER

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

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

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

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

    • ResettingWorldTask

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

    • resetWorld

      protected abstract void resetWorld(RealmsClient client, long worldId) throws RealmsServiceException
      Throws:
      RealmsServiceException
      Mappings:
      Namespace Name Mixin selector
      official a Lepz;a(Lemf;J)V
      intermediary method_32517 Lnet/minecraft/class_4440;method_32517(Lnet/minecraft/class_4341;J)V
      named resetWorld Lnet/minecraft/client/realms/task/ResettingWorldTask;resetWorld(Lnet/minecraft/client/realms/RealmsClient;J)V
    • run

      public void run()
    • getTitle

      public Text getTitle()
      Specified by:
      getTitle in class LongRunningTask
      Mappings:
      Namespace Name Mixin selector
      official a Lepv;a()Ltl;
      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;