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

    • serverId

      private final long serverId
      Mappings:
      Namespace Name Mixin selector
      official d Ldur;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 Ldur;e:Los;
      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 Ldur;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> Ldur;<init>(JLos;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 Ldur;a(Ldqz;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()