Class ServerTask

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

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

    • creationTicks

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

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

    • ServerTask

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

    • getCreationTicks

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

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