Class TestUtil

java.lang.Object
net.minecraft.test.TestUtil

public class TestUtil
extends Object
Mappings:
Namespace Name
official lt
intermediary net/minecraft/class_4520
named net/minecraft/test/TestUtil
  • Constructor Details

    • TestUtil

      public TestUtil()
  • Method Details

    • startTest

      public static void startTest​(GameTest test, BlockPos pos, TestManager testManager)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Llq;Lfx;Llw;)V
      intermediary method_22203 Lnet/minecraft/class_4520;method_22203(Lnet/minecraft/class_4517;Lnet/minecraft/class_2338;Lnet/minecraft/class_4521;)V
      named startTest Lnet/minecraft/test/TestUtil;startTest(Lnet/minecraft/test/GameTest;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/test/TestManager;)V
    • runTestBatches

      public static Collection<GameTest> runTestBatches​(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int int2)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Ljava/util/Collection;Lfx;Lccm;Laav;Llw;I)Ljava/util/Collection;
      intermediary method_22210 Lnet/minecraft/class_4520;method_22210(Ljava/util/Collection;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3218;Lnet/minecraft/class_4521;I)Ljava/util/Collection;
      named runTestBatches Lnet/minecraft/test/TestUtil;runTestBatches(Ljava/util/Collection;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestManager;I)Ljava/util/Collection;
    • runTestFunctions

      public static Collection<GameTest> runTestFunctions​(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int int2)
      Mappings:
      Namespace Name Mixin selector
      official b Llt;b(Ljava/util/Collection;Lfx;Lccm;Laav;Llw;I)Ljava/util/Collection;
      intermediary method_22222 Lnet/minecraft/class_4520;method_22222(Ljava/util/Collection;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3218;Lnet/minecraft/class_4521;I)Ljava/util/Collection;
      named runTestFunctions Lnet/minecraft/test/TestUtil;runTestFunctions(Ljava/util/Collection;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestManager;I)Ljava/util/Collection;
    • createBatches

      public static Collection<GameTestBatch> createBatches​(Collection<TestFunction> testFunctions)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Ljava/util/Collection;)Ljava/util/Collection;
      intermediary method_22209 Lnet/minecraft/class_4520;method_22209(Ljava/util/Collection;)Ljava/util/Collection;
      named createBatches Lnet/minecraft/test/TestUtil;createBatches(Ljava/util/Collection;)Ljava/util/Collection;
    • clearTests

      public static void clearTests​(ServerWorld world, BlockPos pos, TestManager testManager, int radius)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Laav;Lfx;Llw;I)V
      intermediary method_22216 Lnet/minecraft/class_4520;method_22216(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Lnet/minecraft/class_4521;I)V
      named clearTests Lnet/minecraft/test/TestUtil;clearTests(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/test/TestManager;I)V
    • clearDebugMarkers

      public static void clearDebugMarkers​(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      official a Llt;a(Laav;)V
      intermediary method_22213 Lnet/minecraft/class_4520;method_22213(Lnet/minecraft/class_3218;)V
      named clearDebugMarkers Lnet/minecraft/test/TestUtil;clearDebugMarkers(Lnet/minecraft/server/world/ServerWorld;)V