Class ServerTask

java.lang.Object
net.minecraft.server.ServerTask
All Implemented Interfaces:
Runnable

public class ServerTask extends Object implements Runnable
Mappings:
Namespace Name
official aba
intermediary net/minecraft/class_3738
named net/minecraft/server/ServerTask
  • Field Details

    • creationTicks

      private final int creationTicks
      Mappings:
      Namespace Name Mixin selector
      official a Laba;a:I
      intermediary field_16504 Lnet/minecraft/class_3738;field_16504:I
      named creationTicks Lnet/minecraft/server/ServerTask;creationTicks:I
    • runnable

      private final Runnable runnable
      Mappings:
      Namespace Name Mixin selector
      official b Laba;b:Ljava/lang/Runnable;
      intermediary field_16505 Lnet/minecraft/class_3738;field_16505:Ljava/lang/Runnable;
      named runnable Lnet/minecraft/server/ServerTask;runnable:Ljava/lang/Runnable;
  • Constructor Details

    • ServerTask

      public ServerTask(int creationTicks, Runnable runnable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laba;<init>(ILjava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_3738;<init>(ILjava/lang/Runnable;)V
      named <init> Lnet/minecraft/server/ServerTask;<init>(ILjava/lang/Runnable;)V
  • Method Details

    • getCreationTicks

      public int getCreationTicks()
      Mappings:
      Namespace Name Mixin selector
      official a Laba;a()I
      intermediary method_16338 Lnet/minecraft/class_3738;method_16338()I
      named getCreationTicks Lnet/minecraft/server/ServerTask;getCreationTicks()I
    • run

      public void run()
      Specified by:
      run in interface Runnable