Class TestFunction

java.lang.Object
net.minecraft.gametest.framework.TestFunction

public class TestFunction extends Object
  • Field Details

    • batchName

      private final String batchName
    • testName

      private final String testName
    • structureName

      private final String structureName
    • required

      private final boolean required
    • maxAttempts

      private final int maxAttempts
    • requiredSuccesses

      private final int requiredSuccesses
    • function

      private final Consumer<GameTestHelper> function
    • maxTicks

      private final int maxTicks
    • setupTicks

      private final long setupTicks
    • rotation

      private final Rotation rotation
  • Constructor Details

  • Method Details

    • run

      public void run(GameTestHelper p_128077_)
    • getTestName

      public String getTestName()
    • getStructureName

      public String getStructureName()
    • toString

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

      public int getMaxTicks()
    • isRequired

      public boolean isRequired()
    • getBatchName

      public String getBatchName()
    • getSetupTicks

      public long getSetupTicks()
    • getRotation

      public Rotation getRotation()
    • isFlaky

      public boolean isFlaky()
    • getMaxAttempts

      public int getMaxAttempts()
    • getRequiredSuccesses

      public int getRequiredSuccesses()