Class TestRunner

java.lang.Object
net.minecraft.test.TestRunner

public class TestRunner extends Object
Mappings:
Namespace Name
official mx
intermediary net/minecraft/class_4515
named net/minecraft/test/TestRunner
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_20546 Lnet/minecraft/class_4515;field_20546:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/test/TestRunner;LOGGER:Lorg/apache/logging/log4j/Logger;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lmx;b:Lgh;
      intermediary field_20548 Lnet/minecraft/class_4515;field_20548:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/test/TestRunner;pos:Lnet/minecraft/util/math/BlockPos;
    • world

      final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      official c Lmx;c:Ladc;
      intermediary field_20549 Lnet/minecraft/class_4515;field_20549:Lnet/minecraft/class_3218;
      named world Lnet/minecraft/test/TestRunner;world:Lnet/minecraft/server/world/ServerWorld;
    • testManager

      private final TestManager testManager
      Mappings:
      Namespace Name Mixin selector
      official d Lmx;d:Lnh;
      intermediary field_20550 Lnet/minecraft/class_4515;field_20550:Lnet/minecraft/class_4521;
      named testManager Lnet/minecraft/test/TestRunner;testManager:Lnet/minecraft/test/TestManager;
    • sizeZ

      private final int sizeZ
      Mappings:
      Namespace Name Mixin selector
      official e Lmx;e:I
      intermediary field_20556 Lnet/minecraft/class_4515;field_20556:I
      named sizeZ Lnet/minecraft/test/TestRunner;sizeZ:I
    • tests

      private final List<GameTestState> tests
      Mappings:
      Namespace Name Mixin selector
      official f Lmx;f:Ljava/util/List;
      intermediary field_20551 Lnet/minecraft/class_4515;field_20551:Ljava/util/List;
      named tests Lnet/minecraft/test/TestRunner;tests:Ljava/util/List;
    • batches

      private final List<com.mojang.datafixers.util.Pair<GameTestBatch,Collection<GameTestState>>> batches
      Mappings:
      Namespace Name Mixin selector
      official g Lmx;g:Ljava/util/List;
      intermediary field_20547 Lnet/minecraft/class_4515;field_20547:Ljava/util/List;
      named batches Lnet/minecraft/test/TestRunner;batches:Ljava/util/List;
    • reusablePos

      private final BlockPos.Mutable reusablePos
      Mappings:
      Namespace Name Mixin selector
      official h Lmx;h:Lgh$a;
      intermediary field_20555 Lnet/minecraft/class_4515;field_20555:Lnet/minecraft/class_2338$class_2339;
      named reusablePos Lnet/minecraft/test/TestRunner;reusablePos:Lnet/minecraft/util/math/BlockPos$Mutable;
  • Constructor Details

    • TestRunner

      public TestRunner(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lmx;<init>(Ljava/util/Collection;Lgh;Lcin;Ladc;Lnh;I)V
      intermediary <init> Lnet/minecraft/class_4515;<init>(Ljava/util/Collection;Lnet/minecraft/class_2338;Lnet/minecraft/class_2470;Lnet/minecraft/class_3218;Lnet/minecraft/class_4521;I)V
      named <init> Lnet/minecraft/test/TestRunner;<init>(Ljava/util/Collection;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/BlockRotation;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/test/TestManager;I)V
  • Method Details

    • getTests

      public List<GameTestState> getTests()
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a()Ljava/util/List;
      intermediary method_22155 Lnet/minecraft/class_4515;method_22155()Ljava/util/List;
      named getTests Lnet/minecraft/test/TestRunner;getTests()Ljava/util/List;
    • run

      public void run()
      Mappings:
      Namespace Name Mixin selector
      official b Lmx;b()V
      intermediary method_22160 Lnet/minecraft/class_4515;method_22160()V
      named run Lnet/minecraft/test/TestRunner;run()V
    • runBatch

      void runBatch(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a(I)V
      intermediary method_22156 Lnet/minecraft/class_4515;method_22156(I)V
      named runBatch Lnet/minecraft/test/TestRunner;runBatch(I)V
    • alignTestStructures

      private Map<GameTestState,BlockPos> alignTestStructures(Collection<GameTestState> gameTests)
      Mappings:
      Namespace Name Mixin selector
      official a Lmx;a(Ljava/util/Collection;)Ljava/util/Map;
      intermediary method_29401 Lnet/minecraft/class_4515;method_29401(Ljava/util/Collection;)Ljava/util/Map;
      named alignTestStructures Lnet/minecraft/test/TestRunner;alignTestStructures(Ljava/util/Collection;)Ljava/util/Map;