Class StructureTestListener

java.lang.Object
net.minecraft.test.StructureTestListener
All Implemented Interfaces:
TestListener

class StructureTestListener extends Object implements TestListener
Mappings:
Namespace Name
named net/minecraft/test/StructureTestListener
intermediary net/minecraft/class_5624
official ue
  • Field Details

    • attempt

      private int attempt
      Mappings:
      Namespace Name Mixin selector
      named attempt Lnet/minecraft/test/StructureTestListener;attempt:I
      intermediary field_27808 Lnet/minecraft/class_5624;field_27808:I
      official a Lue;a:I
    • successes

      private int successes
      Mappings:
      Namespace Name Mixin selector
      named successes Lnet/minecraft/test/StructureTestListener;successes:I
      intermediary field_27809 Lnet/minecraft/class_5624;field_27809:I
      official b Lue;b:I
  • Constructor Details

    • StructureTestListener

      public StructureTestListener()
  • Method Details

    • onStarted

      public void onStarted(GameTestState test)
      Specified by:
      onStarted in interface TestListener
      Mappings:
      Namespace Name Mixin selector
      named onStarted Lnet/minecraft/test/TestListener;onStarted(Lnet/minecraft/test/GameTestState;)V
      intermediary method_22188 Lnet/minecraft/class_4518;method_22188(Lnet/minecraft/class_4517;)V
      official a Ltt;a(Lts;)V
    • retry

      private void retry(GameTestState state, TestRunContext context, boolean prevPassed)
      Mappings:
      Namespace Name Mixin selector
      named retry Lnet/minecraft/test/StructureTestListener;retry(Lnet/minecraft/test/GameTestState;Lnet/minecraft/test/TestRunContext;Z)V
      intermediary method_56244 Lnet/minecraft/class_5624;method_56244(Lnet/minecraft/class_4517;Lnet/minecraft/class_4520;Z)V
      official a Lue;a(Lts;Ltv;Z)V
    • onPassed

      public void onPassed(GameTestState test, TestRunContext context)
      Specified by:
      onPassed in interface TestListener
      Mappings:
      Namespace Name Mixin selector
      named onPassed Lnet/minecraft/test/TestListener;onPassed(Lnet/minecraft/test/GameTestState;Lnet/minecraft/test/TestRunContext;)V
      intermediary method_33317 Lnet/minecraft/class_4518;method_33317(Lnet/minecraft/class_4517;Lnet/minecraft/class_4520;)V
      official a Ltt;a(Lts;Ltv;)V
    • onFailed

      public void onFailed(GameTestState test, TestRunContext context)
      Specified by:
      onFailed in interface TestListener
      Mappings:
      Namespace Name Mixin selector
      named onFailed Lnet/minecraft/test/TestListener;onFailed(Lnet/minecraft/test/GameTestState;Lnet/minecraft/test/TestRunContext;)V
      intermediary method_22190 Lnet/minecraft/class_4518;method_22190(Lnet/minecraft/class_4517;Lnet/minecraft/class_4520;)V
      official b Ltt;b(Lts;Ltv;)V
    • onRetry

      public void onRetry(GameTestState prevState, GameTestState nextState, TestRunContext context)
      Specified by:
      onRetry in interface TestListener
      Mappings:
      Namespace Name Mixin selector
      named onRetry Lnet/minecraft/test/TestListener;onRetry(Lnet/minecraft/test/GameTestState;Lnet/minecraft/test/GameTestState;Lnet/minecraft/test/TestRunContext;)V
      intermediary method_56216 Lnet/minecraft/class_4518;method_56216(Lnet/minecraft/class_4517;Lnet/minecraft/class_4517;Lnet/minecraft/class_4520;)V
      official a Ltt;a(Lts;Lts;Ltv;)V
    • passTest

      public static void passTest(GameTestState test, String output)
      Mappings:
      Namespace Name Mixin selector
      named passTest Lnet/minecraft/test/StructureTestListener;passTest(Lnet/minecraft/test/GameTestState;Ljava/lang/String;)V
      intermediary method_33320 Lnet/minecraft/class_5624;method_33320(Lnet/minecraft/class_4517;Ljava/lang/String;)V
      official a Lue;a(Lts;Ljava/lang/String;)V
    • finishPassedTest

      private static void finishPassedTest(GameTestState test, String output)
      Mappings:
      Namespace Name Mixin selector
      named finishPassedTest Lnet/minecraft/test/StructureTestListener;finishPassedTest(Lnet/minecraft/test/GameTestState;Ljava/lang/String;)V
      intermediary method_33321 Lnet/minecraft/class_5624;method_33321(Lnet/minecraft/class_4517;Ljava/lang/String;)V
      official b Lue;b(Lts;Ljava/lang/String;)V
    • failTest

      protected static void failTest(GameTestState test, Throwable output)
      Mappings:
      Namespace Name Mixin selector
      named failTest Lnet/minecraft/test/StructureTestListener;failTest(Lnet/minecraft/test/GameTestState;Ljava/lang/Throwable;)V
      intermediary method_32254 Lnet/minecraft/class_5624;method_32254(Lnet/minecraft/class_4517;Ljava/lang/Throwable;)V
      official a Lue;a(Lts;Ljava/lang/Throwable;)V
    • finishFailedTest

      protected static void finishFailedTest(GameTestState test, Throwable output)
      Mappings:
      Namespace Name Mixin selector
      named finishFailedTest Lnet/minecraft/test/StructureTestListener;finishFailedTest(Lnet/minecraft/test/GameTestState;Ljava/lang/Throwable;)V
      intermediary method_32255 Lnet/minecraft/class_5624;method_32255(Lnet/minecraft/class_4517;Ljava/lang/Throwable;)V
      official b Lue;b(Lts;Ljava/lang/Throwable;)V
    • visualizeTest

      protected static void visualizeTest(GameTestState test, Block block)
      Mappings:
      Namespace Name Mixin selector
      named visualizeTest Lnet/minecraft/test/StructureTestListener;visualizeTest(Lnet/minecraft/test/GameTestState;Lnet/minecraft/block/Block;)V
      intermediary method_32253 Lnet/minecraft/class_5624;method_32253(Lnet/minecraft/class_4517;Lnet/minecraft/class_2248;)V
      official a Lue;a(Lts;Ldkl;)V
    • getBeaconPos

      private static BlockPos getBeaconPos(GameTestState state)
      Mappings:
      Namespace Name Mixin selector
      named getBeaconPos Lnet/minecraft/test/StructureTestListener;getBeaconPos(Lnet/minecraft/test/GameTestState;)Lnet/minecraft/util/math/BlockPos;
      intermediary method_61099 Lnet/minecraft/class_5624;method_61099(Lnet/minecraft/class_4517;)Lnet/minecraft/class_2338;
      official b Lue;b(Lts;)Ljh;
    • placeAboveBeacon

      private static void placeAboveBeacon(GameTestState state, Block block)
      Mappings:
      Namespace Name Mixin selector
      named placeAboveBeacon Lnet/minecraft/test/StructureTestListener;placeAboveBeacon(Lnet/minecraft/test/GameTestState;Lnet/minecraft/block/Block;)V
      intermediary method_61100 Lnet/minecraft/class_5624;method_61100(Lnet/minecraft/class_4517;Lnet/minecraft/class_2248;)V
      official b Lue;b(Lts;Ldkl;)V
    • createTestOutputLectern

      private static void createTestOutputLectern(GameTestState test, String output)
      Mappings:
      Namespace Name Mixin selector
      named createTestOutputLectern Lnet/minecraft/test/StructureTestListener;createTestOutputLectern(Lnet/minecraft/test/GameTestState;Ljava/lang/String;)V
      intermediary method_32256 Lnet/minecraft/class_5624;method_32256(Lnet/minecraft/class_4517;Ljava/lang/String;)V
      official c Lue;c(Lts;Ljava/lang/String;)V
    • createBookWithText

      private static ItemStack createBookWithText(String text, boolean required, String output)
      Mappings:
      Namespace Name Mixin selector
      named createBookWithText Lnet/minecraft/test/StructureTestListener;createBookWithText(Ljava/lang/String;ZLjava/lang/String;)Lnet/minecraft/item/ItemStack;
      intermediary method_32251 Lnet/minecraft/class_5624;method_32251(Ljava/lang/String;ZLjava/lang/String;)Lnet/minecraft/class_1799;
      official a Lue;a(Ljava/lang/String;ZLjava/lang/String;)Lcxo;
    • sendMessageToAllPlayers

      protected static void sendMessageToAllPlayers(ServerWorld world, Formatting formatting, String message)
      Mappings:
      Namespace Name Mixin selector
      named sendMessageToAllPlayers Lnet/minecraft/test/StructureTestListener;sendMessageToAllPlayers(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/Formatting;Ljava/lang/String;)V
      intermediary method_32248 Lnet/minecraft/class_5624;method_32248(Lnet/minecraft/class_3218;Lnet/minecraft/class_124;Ljava/lang/String;)V
      official a Lue;a(Lash;Ln;Ljava/lang/String;)V
    • addGameTestMarker

      private static void addGameTestMarker(ServerWorld world, BlockPos pos, String message)
      Mappings:
      Namespace Name Mixin selector
      named addGameTestMarker Lnet/minecraft/test/StructureTestListener;addGameTestMarker(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;Ljava/lang/String;)V
      intermediary method_32247 Lnet/minecraft/class_5624;method_32247(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;Ljava/lang/String;)V
      official a Lue;a(Lash;Ljh;Ljava/lang/String;)V