Class TestRunner

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

public class TestRunner extends Object
Mappings:
Namespace Name
official ps
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 Lps;a:Lorg/slf4j/Logger;
      intermediary field_20546 Lnet/minecraft/class_4515;field_20546:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/test/TestRunner;LOGGER:Lorg/slf4j/Logger;
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official b Lps;b:Lgw;
      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 Lps;c:Lakq;
      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 Lps;d:Lqc;
      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 Lps;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 Lps;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 Lps;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;
    • testCount

      private int testCount
      Mappings:
      Namespace Name Mixin selector
      official h Lps;h:I
      intermediary field_46071 Lnet/minecraft/class_4515;field_46071:I
      named testCount Lnet/minecraft/test/TestRunner;testCount:I
    • rowBoundingBox

      private Box rowBoundingBox
      Mappings:
      Namespace Name Mixin selector
      official i Lps;i:Lehi;
      intermediary field_46072 Lnet/minecraft/class_4515;field_46072:Lnet/minecraft/class_238;
      named rowBoundingBox Lnet/minecraft/test/TestRunner;rowBoundingBox:Lnet/minecraft/util/math/Box;
    • reusablePos

      private final BlockPos.Mutable reusablePos
      Mappings:
      Namespace Name Mixin selector
      official j Lps;j:Lgw$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> Lps;<init>(Ljava/util/Collection;Lgw;Lczh;Lakq;Lqc;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 Lps;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 Lps;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 Lps;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 Lps;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;