Class TestUtil

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

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

    • MAX_BATCH_SIZE

      private static final int MAX_BATCH_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lpu;e:I
      intermediary field_33152 Lnet/minecraft/class_4520;field_33152:I
      named MAX_BATCH_SIZE Lnet/minecraft/test/TestUtil;MAX_BATCH_SIZE:I
    • field_33148

      public static final int field_33148
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lpu;a:I
      intermediary field_33148 Lnet/minecraft/class_4520;field_33148:I
      named field_33148 Lnet/minecraft/test/TestUtil;field_33148:I
    • field_33149

      public static final int field_33149
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lpu;b:I
      intermediary field_33149 Lnet/minecraft/class_4520;field_33149:I
      named field_33149 Lnet/minecraft/test/TestUtil;field_33149:I
    • field_33150

      public static final int field_33150
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lpu;c:I
      intermediary field_33150 Lnet/minecraft/class_4520;field_33150:I
      named field_33150 Lnet/minecraft/test/TestUtil;field_33150:I
    • field_33151

      public static final int field_33151
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lpu;d:I
      intermediary field_33151 Lnet/minecraft/class_4520;field_33151:I
      named field_33151 Lnet/minecraft/test/TestUtil;field_33151:I
  • Constructor Details

    • TestUtil

      public TestUtil()
  • Method Details

    • startTest

      public static void startTest(GameTestState test, BlockPos pos, TestManager testManager)
      Mappings:
      Namespace Name Mixin selector
      official a Lpu;a(Lpr;Lgu;Lpx;)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/GameTestState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/test/TestManager;)V
    • runTestBatches

      public static Collection<GameTestState> runTestBatches(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lpu;a(Ljava/util/Collection;Lgu;Lcvr;Laid;Lpx;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<GameTestState> runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
      Mappings:
      Namespace Name Mixin selector
      official b Lpu;b(Ljava/util/Collection;Lgu;Lcvr;Laid;Lpx;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 Lpu;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 Lpu;a(Laid;Lgu;Lpx;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 Lpu;a(Laid;)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