Class TestRunner

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

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

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lof;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 Lof;b:Lgt;
      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 Lof;c:Lafo;
      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 Lof;d:Lop;
      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 Lof;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 Lof;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 Lof;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 Lof;h:Lgt$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> Lof;<init>(Ljava/util/Collection;Lgt;Lcoz;Lafo;Lop;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 Lof;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 Lof;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 Lof;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 Lof;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;