Class TimedTask

java.lang.Object
net.minecraft.test.TimedTask

class TimedTask extends Object
Mappings:
Namespace Name
named net/minecraft/test/TimedTask
intermediary net/minecraft/class_4692
official tl
  • Field Details

    • duration

      @Nullable public final @Nullable Long duration
      Mappings:
      Namespace Name Mixin selector
      named duration Lnet/minecraft/test/TimedTask;duration:Ljava/lang/Long;
      intermediary field_21450 Lnet/minecraft/class_4692;field_21450:Ljava/lang/Long;
      official a Ltl;a:Ljava/lang/Long;
    • task

      public final Runnable task
      Mappings:
      Namespace Name Mixin selector
      named task Lnet/minecraft/test/TimedTask;task:Ljava/lang/Runnable;
      intermediary field_21451 Lnet/minecraft/class_4692;field_21451:Ljava/lang/Runnable;
      official b Ltl;b:Ljava/lang/Runnable;
  • Constructor Details

    • TimedTask

      private TimedTask(@Nullable @Nullable Long duration, Runnable task)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/test/TimedTask;<init>(Ljava/lang/Long;Ljava/lang/Runnable;)V
      intermediary <init> Lnet/minecraft/class_4692;<init>(Ljava/lang/Long;Ljava/lang/Runnable;)V
      official <init> Ltl;<init>(Ljava/lang/Long;Ljava/lang/Runnable;)V
  • Method Details

    • create

      static TimedTask create(Runnable task)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/test/TimedTask;create(Ljava/lang/Runnable;)Lnet/minecraft/test/TimedTask;
      intermediary method_35942 Lnet/minecraft/class_4692;method_35942(Ljava/lang/Runnable;)Lnet/minecraft/class_4692;
      official a Ltl;a(Ljava/lang/Runnable;)Ltl;
    • create

      static TimedTask create(long duration, Runnable task)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/test/TimedTask;create(JLjava/lang/Runnable;)Lnet/minecraft/test/TimedTask;
      intermediary method_35941 Lnet/minecraft/class_4692;method_35941(JLjava/lang/Runnable;)Lnet/minecraft/class_4692;
      official a Ltl;a(JLjava/lang/Runnable;)Ltl;