Class TestFunctions

java.lang.Object
net.minecraft.test.TestFunctions

public class TestFunctions extends Object
Mappings:
Namespace Name
named net/minecraft/test/TestFunctions
intermediary net/minecraft/class_4519
official tu
  • Field Details

    • TEST_FUNCTIONS

      private static final Collection<TestFunction> TEST_FUNCTIONS
      Mappings:
      Namespace Name Mixin selector
      named TEST_FUNCTIONS Lnet/minecraft/test/TestFunctions;TEST_FUNCTIONS:Ljava/util/Collection;
      intermediary field_20570 Lnet/minecraft/class_4519;field_20570:Ljava/util/Collection;
      official a Ltu;a:Ljava/util/Collection;
    • TEST_CLASSES

      private static final Set<String> TEST_CLASSES
      Mappings:
      Namespace Name Mixin selector
      named TEST_CLASSES Lnet/minecraft/test/TestFunctions;TEST_CLASSES:Ljava/util/Set;
      intermediary field_20571 Lnet/minecraft/class_4519;field_20571:Ljava/util/Set;
      official b Ltu;b:Ljava/util/Set;
    • BEFORE_BATCH_CONSUMERS

      private static final Map<String,Consumer<ServerWorld>> BEFORE_BATCH_CONSUMERS
      Mappings:
      Namespace Name Mixin selector
      named BEFORE_BATCH_CONSUMERS Lnet/minecraft/test/TestFunctions;BEFORE_BATCH_CONSUMERS:Ljava/util/Map;
      intermediary field_20572 Lnet/minecraft/class_4519;field_20572:Ljava/util/Map;
      official c Ltu;c:Ljava/util/Map;
    • AFTER_BATCH_CONSUMERS

      private static final Map<String,Consumer<ServerWorld>> AFTER_BATCH_CONSUMERS
      Mappings:
      Namespace Name Mixin selector
      named AFTER_BATCH_CONSUMERS Lnet/minecraft/test/TestFunctions;AFTER_BATCH_CONSUMERS:Ljava/util/Map;
      intermediary field_27806 Lnet/minecraft/class_4519;field_27806:Ljava/util/Map;
      official d Ltu;d:Ljava/util/Map;
    • FAILED_TEST_FUNCTIONS

      private static final Set<TestFunction> FAILED_TEST_FUNCTIONS
      Mappings:
      Namespace Name Mixin selector
      named FAILED_TEST_FUNCTIONS Lnet/minecraft/test/TestFunctions;FAILED_TEST_FUNCTIONS:Ljava/util/Set;
      intermediary field_25302 Lnet/minecraft/class_4519;field_25302:Ljava/util/Set;
      official e Ltu;e:Ljava/util/Set;
  • Constructor Details

    • TestFunctions

      public TestFunctions()
  • Method Details

    • register

      public static void register(Class<?> testClass)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/test/TestFunctions;register(Ljava/lang/Class;)V
      intermediary method_36068 Lnet/minecraft/class_4519;method_36068(Ljava/lang/Class;)V
      official a Ltu;a(Ljava/lang/Class;)V
    • register

      public static void register(Method method)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/test/TestFunctions;register(Ljava/lang/reflect/Method;)V
      intermediary method_36069 Lnet/minecraft/class_4519;method_36069(Ljava/lang/reflect/Method;)V
      official a Ltu;a(Ljava/lang/reflect/Method;)V
    • registerBatchConsumers

      private static <T extends Annotation> void registerBatchConsumers(Method method, Class<T> clazz, Function<T,String> batchIdFunction, Map<String,Consumer<ServerWorld>> batchConsumerMap)
      Mappings:
      Namespace Name Mixin selector
      named registerBatchConsumers Lnet/minecraft/test/TestFunctions;registerBatchConsumers(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/Map;)V
      intermediary method_36070 Lnet/minecraft/class_4519;method_36070(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/Map;)V
      official a Ltu;a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/Map;)V
    • getTestFunctions

      public static Stream<TestFunction> getTestFunctions(String testClass)
      Mappings:
      Namespace Name Mixin selector
      named getTestFunctions Lnet/minecraft/test/TestFunctions;getTestFunctions(Ljava/lang/String;)Ljava/util/stream/Stream;
      intermediary method_22193 Lnet/minecraft/class_4519;method_22193(Ljava/lang/String;)Ljava/util/stream/Stream;
      official a Ltu;a(Ljava/lang/String;)Ljava/util/stream/Stream;
    • getTestFunctions

      public static Collection<TestFunction> getTestFunctions()
      Mappings:
      Namespace Name Mixin selector
      named getTestFunctions Lnet/minecraft/test/TestFunctions;getTestFunctions()Ljava/util/Collection;
      intermediary method_22191 Lnet/minecraft/class_4519;method_22191()Ljava/util/Collection;
      official a Ltu;a()Ljava/util/Collection;
    • getTestClasses

      public static Collection<String> getTestClasses()
      Mappings:
      Namespace Name Mixin selector
      named getTestClasses Lnet/minecraft/test/TestFunctions;getTestClasses()Ljava/util/Collection;
      intermediary method_22195 Lnet/minecraft/class_4519;method_22195()Ljava/util/Collection;
      official b Ltu;b()Ljava/util/Collection;
    • testClassExists

      public static boolean testClassExists(String testClass)
      Mappings:
      Namespace Name Mixin selector
      named testClassExists Lnet/minecraft/test/TestFunctions;testClassExists(Ljava/lang/String;)Z
      intermediary method_22196 Lnet/minecraft/class_4519;method_22196(Ljava/lang/String;)Z
      official b Ltu;b(Ljava/lang/String;)Z
    • getBeforeBatchConsumer

      public static Consumer<ServerWorld> getBeforeBatchConsumer(String batchId)
      Mappings:
      Namespace Name Mixin selector
      named getBeforeBatchConsumer Lnet/minecraft/test/TestFunctions;getBeforeBatchConsumer(Ljava/lang/String;)Ljava/util/function/Consumer;
      intermediary method_22198 Lnet/minecraft/class_4519;method_22198(Ljava/lang/String;)Ljava/util/function/Consumer;
      official c Ltu;c(Ljava/lang/String;)Ljava/util/function/Consumer;
    • getAfterBatchConsumer

      public static Consumer<ServerWorld> getAfterBatchConsumer(String batchId)
      Mappings:
      Namespace Name Mixin selector
      named getAfterBatchConsumer Lnet/minecraft/test/TestFunctions;getAfterBatchConsumer(Ljava/lang/String;)Ljava/util/function/Consumer;
      intermediary method_32244 Lnet/minecraft/class_4519;method_32244(Ljava/lang/String;)Ljava/util/function/Consumer;
      official d Ltu;d(Ljava/lang/String;)Ljava/util/function/Consumer;
    • getTestFunction

      public static Optional<TestFunction> getTestFunction(String structurePath)
      Mappings:
      Namespace Name Mixin selector
      named getTestFunction Lnet/minecraft/test/TestFunctions;getTestFunction(Ljava/lang/String;)Ljava/util/Optional;
      intermediary method_22199 Lnet/minecraft/class_4519;method_22199(Ljava/lang/String;)Ljava/util/Optional;
      official e Ltu;e(Ljava/lang/String;)Ljava/util/Optional;
    • getTestFunctionOrThrow

      public static TestFunction getTestFunctionOrThrow(String structurePath)
      Mappings:
      Namespace Name Mixin selector
      named getTestFunctionOrThrow Lnet/minecraft/test/TestFunctions;getTestFunctionOrThrow(Ljava/lang/String;)Lnet/minecraft/test/TestFunction;
      intermediary method_22200 Lnet/minecraft/class_4519;method_22200(Ljava/lang/String;)Lnet/minecraft/class_4529;
      official f Ltu;f(Ljava/lang/String;)Lum;
    • getCustomTestFunctions

      private static Collection<TestFunction> getCustomTestFunctions(Method method)
      Mappings:
      Namespace Name Mixin selector
      named getCustomTestFunctions Lnet/minecraft/test/TestFunctions;getCustomTestFunctions(Ljava/lang/reflect/Method;)Ljava/util/Collection;
      intermediary method_36072 Lnet/minecraft/class_4519;method_36072(Ljava/lang/reflect/Method;)Ljava/util/Collection;
      official b Ltu;b(Ljava/lang/reflect/Method;)Ljava/util/Collection;
    • getTestFunction

      private static TestFunction getTestFunction(Method method)
      Mappings:
      Namespace Name Mixin selector
      named getTestFunction Lnet/minecraft/test/TestFunctions;getTestFunction(Ljava/lang/reflect/Method;)Lnet/minecraft/test/TestFunction;
      intermediary method_36073 Lnet/minecraft/class_4519;method_36073(Ljava/lang/reflect/Method;)Lnet/minecraft/class_4529;
      official c Ltu;c(Ljava/lang/reflect/Method;)Lum;
    • getInvoker

      private static Consumer<?> getInvoker(Method method)
      Mappings:
      Namespace Name Mixin selector
      named getInvoker Lnet/minecraft/test/TestFunctions;getInvoker(Ljava/lang/reflect/Method;)Ljava/util/function/Consumer;
      intermediary method_36074 Lnet/minecraft/class_4519;method_36074(Ljava/lang/reflect/Method;)Ljava/util/function/Consumer;
      official d Ltu;d(Ljava/lang/reflect/Method;)Ljava/util/function/Consumer;
    • isInClass

      private static boolean isInClass(TestFunction testFunction, String testClass)
      Mappings:
      Namespace Name Mixin selector
      named isInClass Lnet/minecraft/test/TestFunctions;isInClass(Lnet/minecraft/test/TestFunction;Ljava/lang/String;)Z
      intermediary method_22192 Lnet/minecraft/class_4519;method_22192(Lnet/minecraft/class_4529;Ljava/lang/String;)Z
      official a Ltu;a(Lum;Ljava/lang/String;)Z
    • getFailedTestFunctions

      public static Stream<TestFunction> getFailedTestFunctions()
      Mappings:
      Namespace Name Mixin selector
      named getFailedTestFunctions Lnet/minecraft/test/TestFunctions;getFailedTestFunctions()Ljava/util/stream/Stream;
      intermediary method_29405 Lnet/minecraft/class_4519;method_29405()Ljava/util/stream/Stream;
      official c Ltu;c()Ljava/util/stream/Stream;
    • addFailedTestFunction

      public static void addFailedTestFunction(TestFunction testFunction)
      Mappings:
      Namespace Name Mixin selector
      named addFailedTestFunction Lnet/minecraft/test/TestFunctions;addFailedTestFunction(Lnet/minecraft/test/TestFunction;)V
      intermediary method_29404 Lnet/minecraft/class_4519;method_29404(Lnet/minecraft/class_4529;)V
      official a Ltu;a(Lum;)V
    • clearFailedTestFunctions

      public static void clearFailedTestFunctions()
      Mappings:
      Namespace Name Mixin selector
      named clearFailedTestFunctions Lnet/minecraft/test/TestFunctions;clearFailedTestFunctions()V
      intermediary method_29406 Lnet/minecraft/class_4519;method_29406()V
      official d Ltu;d()V