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 edz
intermediary net/minecraft/class_4440
named net/minecraft/client/realms/task/ResettingWorldTask
  • Field Details

    • field_36358

      private static final org.slf4j.Logger field_36358
      Mappings:
      Namespace Name Mixin selector
      official c Ledz;c:Lorg/slf4j/Logger;
      intermediary field_36358 Lnet/minecraft/class_4440;field_36358:Lorg/slf4j/Logger;
      named field_36358 Lnet/minecraft/client/realms/task/ResettingWorldTask;field_36358:Lorg/slf4j/Logger;
    • serverId

      private final long serverId
      Mappings:
      Namespace Name Mixin selector
      official d Ledz;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 Ledz;e:Lrm;
      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 Ledz;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> Ledz;<init>(JLrm;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 Ledz;a(Leah;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()