Class TimedTask

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

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

    • duration

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

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

    • TimedTask

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

    • create

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

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