Class ResettingWorldTask

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

@Environment(CLIENT) public abstract class ResettingWorldTask extends LongRunningTask
Mappings:
Namespace Name
official ems
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 c Lems;c: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 d Lems;d: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 e Lems;e:Lsw;
      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 f Lems;f: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> Lems;<init>(JLsw;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 Lems;a(Leiz;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()