Class TestFunction

java.lang.Object
net.minecraft.test.TestFunction

public class TestFunction extends Object
Mappings:
Namespace Name
official qv
intermediary net/minecraft/class_4529
named net/minecraft/test/TestFunction
  • Field Details

    • batchId

      private final String batchId
      Mappings:
      Namespace Name Mixin selector
      official a Lqv;a:Ljava/lang/String;
      intermediary field_20583 Lnet/minecraft/class_4529;field_20583:Ljava/lang/String;
      named batchId Lnet/minecraft/test/TestFunction;batchId:Ljava/lang/String;
    • templatePath

      private final String templatePath
      Mappings:
      Namespace Name Mixin selector
      official b Lqv;b:Ljava/lang/String;
      intermediary field_20584 Lnet/minecraft/class_4529;field_20584:Ljava/lang/String;
      named templatePath Lnet/minecraft/test/TestFunction;templatePath:Ljava/lang/String;
    • templateName

      private final String templateName
      Mappings:
      Namespace Name Mixin selector
      official c Lqv;c:Ljava/lang/String;
      intermediary field_20585 Lnet/minecraft/class_4529;field_20585:Ljava/lang/String;
      named templateName Lnet/minecraft/test/TestFunction;templateName:Ljava/lang/String;
    • required

      private final boolean required
      Mappings:
      Namespace Name Mixin selector
      official d Lqv;d:Z
      intermediary field_20586 Lnet/minecraft/class_4529;field_20586:Z
      named required Lnet/minecraft/test/TestFunction;required:Z
    • maxAttempts

      private final int maxAttempts
      Mappings:
      Namespace Name Mixin selector
      official e Lqv;e:I
      intermediary field_27814 Lnet/minecraft/class_4529;field_27814:I
      named maxAttempts Lnet/minecraft/test/TestFunction;maxAttempts:I
    • requiredSuccesses

      private final int requiredSuccesses
      Mappings:
      Namespace Name Mixin selector
      official f Lqv;f:I
      intermediary field_27815 Lnet/minecraft/class_4529;field_27815:I
      named requiredSuccesses Lnet/minecraft/test/TestFunction;requiredSuccesses:I
    • starter

      private final Consumer<TestContext> starter
      Mappings:
      Namespace Name Mixin selector
      official g Lqv;g:Ljava/util/function/Consumer;
      intermediary field_20587 Lnet/minecraft/class_4529;field_20587:Ljava/util/function/Consumer;
      named starter Lnet/minecraft/test/TestFunction;starter:Ljava/util/function/Consumer;
    • tickLimit

      private final int tickLimit
      Mappings:
      Namespace Name Mixin selector
      official h Lqv;h:I
      intermediary field_20588 Lnet/minecraft/class_4529;field_20588:I
      named tickLimit Lnet/minecraft/test/TestFunction;tickLimit:I
    • duration

      private final long duration
      Mappings:
      Namespace Name Mixin selector
      official i Lqv;i:J
      intermediary field_21460 Lnet/minecraft/class_4529;field_21460:J
      named duration Lnet/minecraft/test/TestFunction;duration:J
    • rotation

      private final BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      official j Lqv;j:Lcvq;
      intermediary field_25306 Lnet/minecraft/class_4529;field_25306:Lnet/minecraft/class_2470;
      named rotation Lnet/minecraft/test/TestFunction;rotation:Lnet/minecraft/util/BlockRotation;
  • Constructor Details

    • TestFunction

      public TestFunction(String batchId, String templatePath, String templateName, int tickLimit, long duration, boolean required, Consumer<TestContext> starter)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqv;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJZLjava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_4529;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJZLjava/util/function/Consumer;)V
      named <init> Lnet/minecraft/test/TestFunction;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IJZLjava/util/function/Consumer;)V
    • TestFunction

      public TestFunction(String batchId, String templatePath, String templateName, BlockRotation rotation, int tickLimit, long duration, boolean required, Consumer<TestContext> starter)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqv;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcvq;IJZLjava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_4529;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2470;IJZLjava/util/function/Consumer;)V
      named <init> Lnet/minecraft/test/TestFunction;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/util/BlockRotation;IJZLjava/util/function/Consumer;)V
    • TestFunction

      public TestFunction(String batchId, String templatePath, String templateName, BlockRotation rotation, int tickLimit, long duration, boolean required, int requiredSuccesses, int maxAttempts, Consumer<TestContext> starter)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqv;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcvq;IJZIILjava/util/function/Consumer;)V
      intermediary <init> Lnet/minecraft/class_4529;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/class_2470;IJZIILjava/util/function/Consumer;)V
      named <init> Lnet/minecraft/test/TestFunction;<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lnet/minecraft/util/BlockRotation;IJZIILjava/util/function/Consumer;)V
  • Method Details

    • start

      public void start(TestContext context)
      Mappings:
      Namespace Name Mixin selector
      official a Lqv;a(Lqd;)V
      intermediary method_22297 Lnet/minecraft/class_4529;method_22297(Lnet/minecraft/class_4516;)V
      named start Lnet/minecraft/test/TestFunction;start(Lnet/minecraft/test/TestContext;)V
    • getTemplatePath

      public String getTemplatePath()
      Mappings:
      Namespace Name Mixin selector
      official a Lqv;a()Ljava/lang/String;
      intermediary method_22296 Lnet/minecraft/class_4529;method_22296()Ljava/lang/String;
      named getTemplatePath Lnet/minecraft/test/TestFunction;getTemplatePath()Ljava/lang/String;
    • getTemplateName

      public String getTemplateName()
      Mappings:
      Namespace Name Mixin selector
      official b Lqv;b()Ljava/lang/String;
      intermediary method_22298 Lnet/minecraft/class_4529;method_22298()Ljava/lang/String;
      named getTemplateName Lnet/minecraft/test/TestFunction;getTemplateName()Ljava/lang/String;
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getTickLimit

      public int getTickLimit()
      Mappings:
      Namespace Name Mixin selector
      official c Lqv;c()I
      intermediary method_22299 Lnet/minecraft/class_4529;method_22299()I
      named getTickLimit Lnet/minecraft/test/TestFunction;getTickLimit()I
    • isRequired

      public boolean isRequired()
      Mappings:
      Namespace Name Mixin selector
      official d Lqv;d()Z
      intermediary method_22300 Lnet/minecraft/class_4529;method_22300()Z
      named isRequired Lnet/minecraft/test/TestFunction;isRequired()Z
    • getBatchId

      public String getBatchId()
      Mappings:
      Namespace Name Mixin selector
      official e Lqv;e()Ljava/lang/String;
      intermediary method_22301 Lnet/minecraft/class_4529;method_22301()Ljava/lang/String;
      named getBatchId Lnet/minecraft/test/TestFunction;getBatchId()Ljava/lang/String;
    • getDuration

      public long getDuration()
      Mappings:
      Namespace Name Mixin selector
      official f Lqv;f()J
      intermediary method_23649 Lnet/minecraft/class_4529;method_23649()J
      named getDuration Lnet/minecraft/test/TestFunction;getDuration()J
    • getRotation

      public BlockRotation getRotation()
      Mappings:
      Namespace Name Mixin selector
      official g Lqv;g()Lcvq;
      intermediary method_29424 Lnet/minecraft/class_4529;method_29424()Lnet/minecraft/class_2470;
      named getRotation Lnet/minecraft/test/TestFunction;getRotation()Lnet/minecraft/util/BlockRotation;
    • isFlaky

      public boolean isFlaky()
      Mappings:
      Namespace Name Mixin selector
      official h Lqv;h()Z
      intermediary method_32257 Lnet/minecraft/class_4529;method_32257()Z
      named isFlaky Lnet/minecraft/test/TestFunction;isFlaky()Z
    • getMaxAttempts

      public int getMaxAttempts()
      Mappings:
      Namespace Name Mixin selector
      official i Lqv;i()I
      intermediary method_32258 Lnet/minecraft/class_4529;method_32258()I
      named getMaxAttempts Lnet/minecraft/test/TestFunction;getMaxAttempts()I
    • getRequiredSuccesses

      public int getRequiredSuccesses()
      Mappings:
      Namespace Name Mixin selector
      official j Lqv;j()I
      intermediary method_32259 Lnet/minecraft/class_4529;method_32259()I
      named getRequiredSuccesses Lnet/minecraft/test/TestFunction;getRequiredSuccesses()I