类 TestFunctions
- java.lang.Object
-
- net.minecraft.test.TestFunctions
-
public class TestFunctions extends Object
- Mappings:
Namespace Name official lxintermediary net/minecraft/class_4519named net/minecraft/test/TestFunctions
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Map<String,Consumer<ServerWorld>>AFTER_BATCH_CONSUMERSprivate static Map<String,Consumer<ServerWorld>>BEFORE_BATCH_CONSUMERSprivate static Collection<TestFunction>FAILED_TEST_FUNCTIONSprivate static Collection<TestFunction>TEST_FUNCTIONSprivate static Set<String>testClasses
-
构造器概要
构造器 构造器 说明 TestFunctions()
-
方法概要
-
-
-
字段详细资料
-
TEST_FUNCTIONS
private static final Collection<TestFunction> TEST_FUNCTIONS
- Mappings:
Namespace Name Mixin selector official aLlx;a:Ljava/util/Collection;intermediary field_20570Lnet/minecraft/class_4519;field_20570:Ljava/util/Collection;named TEST_FUNCTIONSLnet/minecraft/test/TestFunctions;TEST_FUNCTIONS:Ljava/util/Collection;
-
testClasses
private static final Set<String> testClasses
- Mappings:
Namespace Name Mixin selector official bLlx;b:Ljava/util/Set;intermediary field_20571Lnet/minecraft/class_4519;field_20571:Ljava/util/Set;named testClassesLnet/minecraft/test/TestFunctions;testClasses:Ljava/util/Set;
-
BEFORE_BATCH_CONSUMERS
private static final Map<String,Consumer<ServerWorld>> BEFORE_BATCH_CONSUMERS
- Mappings:
Namespace Name Mixin selector official cLlx;c:Ljava/util/Map;intermediary field_20572Lnet/minecraft/class_4519;field_20572:Ljava/util/Map;named BEFORE_BATCH_CONSUMERSLnet/minecraft/test/TestFunctions;BEFORE_BATCH_CONSUMERS:Ljava/util/Map;
-
AFTER_BATCH_CONSUMERS
private static final Map<String,Consumer<ServerWorld>> AFTER_BATCH_CONSUMERS
- Mappings:
Namespace Name Mixin selector official dLlx;d:Ljava/util/Map;intermediary field_27806Lnet/minecraft/class_4519;field_27806:Ljava/util/Map;named AFTER_BATCH_CONSUMERSLnet/minecraft/test/TestFunctions;AFTER_BATCH_CONSUMERS:Ljava/util/Map;
-
FAILED_TEST_FUNCTIONS
private static final Collection<TestFunction> FAILED_TEST_FUNCTIONS
- Mappings:
Namespace Name Mixin selector official eLlx;e:Ljava/util/Collection;intermediary field_25302Lnet/minecraft/class_4519;field_25302:Ljava/util/Collection;named FAILED_TEST_FUNCTIONSLnet/minecraft/test/TestFunctions;FAILED_TEST_FUNCTIONS:Ljava/util/Collection;
-
-
方法详细资料
-
register
public static void register(Class<?> testClass)
- Mappings:
Namespace Name Mixin selector official aLlx;a(Ljava/lang/Class;)Vintermediary method_36068Lnet/minecraft/class_4519;method_36068(Ljava/lang/Class;)Vnamed registerLnet/minecraft/test/TestFunctions;register(Ljava/lang/Class;)V
-
register
public static void register(Method method)
- Mappings:
Namespace Name Mixin selector official aLlx;a(Ljava/lang/reflect/Method;)Vintermediary method_36069Lnet/minecraft/class_4519;method_36069(Ljava/lang/reflect/Method;)Vnamed registerLnet/minecraft/test/TestFunctions;register(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 official aLlx;a(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/Map;)Vintermediary method_36070Lnet/minecraft/class_4519;method_36070(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/Map;)Vnamed registerBatchConsumersLnet/minecraft/test/TestFunctions;registerBatchConsumers(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/Map;)V
-
getTestFunctions
public static Collection<TestFunction> getTestFunctions(String testClass)
- Mappings:
Namespace Name Mixin selector official aLlx;a(Ljava/lang/String;)Ljava/util/Collection;intermediary method_22193Lnet/minecraft/class_4519;method_22193(Ljava/lang/String;)Ljava/util/Collection;named getTestFunctionsLnet/minecraft/test/TestFunctions;getTestFunctions(Ljava/lang/String;)Ljava/util/Collection;
-
getTestFunctions
public static Collection<TestFunction> getTestFunctions()
- Mappings:
Namespace Name Mixin selector official aLlx;a()Ljava/util/Collection;intermediary method_22191Lnet/minecraft/class_4519;method_22191()Ljava/util/Collection;named getTestFunctionsLnet/minecraft/test/TestFunctions;getTestFunctions()Ljava/util/Collection;
-
getTestClasses
public static Collection<String> getTestClasses()
- Mappings:
Namespace Name Mixin selector official bLlx;b()Ljava/util/Collection;intermediary method_22195Lnet/minecraft/class_4519;method_22195()Ljava/util/Collection;named getTestClassesLnet/minecraft/test/TestFunctions;getTestClasses()Ljava/util/Collection;
-
testClassExists
public static boolean testClassExists(String testClass)
- Mappings:
Namespace Name Mixin selector official bLlx;b(Ljava/lang/String;)Zintermediary method_22196Lnet/minecraft/class_4519;method_22196(Ljava/lang/String;)Znamed testClassExistsLnet/minecraft/test/TestFunctions;testClassExists(Ljava/lang/String;)Z
-
getAfterBatchConsumer
@Nullable public static @Nullable Consumer<ServerWorld> getAfterBatchConsumer(String batchId)
- Mappings:
Namespace Name Mixin selector official cLlx;c(Ljava/lang/String;)Ljava/util/function/Consumer;intermediary method_22198Lnet/minecraft/class_4519;method_22198(Ljava/lang/String;)Ljava/util/function/Consumer;named getAfterBatchConsumerLnet/minecraft/test/TestFunctions;getAfterBatchConsumer(Ljava/lang/String;)Ljava/util/function/Consumer;
-
getBeforeBatchConsumer
@Nullable public static @Nullable Consumer<ServerWorld> getBeforeBatchConsumer(String batchId)
- Mappings:
Namespace Name Mixin selector official dLlx;d(Ljava/lang/String;)Ljava/util/function/Consumer;intermediary method_32244Lnet/minecraft/class_4519;method_32244(Ljava/lang/String;)Ljava/util/function/Consumer;named getBeforeBatchConsumerLnet/minecraft/test/TestFunctions;getBeforeBatchConsumer(Ljava/lang/String;)Ljava/util/function/Consumer;
-
getTestFunction
public static Optional<TestFunction> getTestFunction(String structurePath)
- Mappings:
Namespace Name Mixin selector official eLlx;e(Ljava/lang/String;)Ljava/util/Optional;intermediary method_22199Lnet/minecraft/class_4519;method_22199(Ljava/lang/String;)Ljava/util/Optional;named getTestFunctionLnet/minecraft/test/TestFunctions;getTestFunction(Ljava/lang/String;)Ljava/util/Optional;
-
getTestFunctionOrThrow
public static TestFunction getTestFunctionOrThrow(String structurePath)
- Mappings:
Namespace Name Mixin selector official fLlx;f(Ljava/lang/String;)Lmm;intermediary method_22200Lnet/minecraft/class_4519;method_22200(Ljava/lang/String;)Lnet/minecraft/class_4529;named getTestFunctionOrThrowLnet/minecraft/test/TestFunctions;getTestFunctionOrThrow(Ljava/lang/String;)Lnet/minecraft/test/TestFunction;
-
getCustomTestFunctions
private static Collection<TestFunction> getCustomTestFunctions(Method method)
- Mappings:
Namespace Name Mixin selector official bLlx;b(Ljava/lang/reflect/Method;)Ljava/util/Collection;intermediary method_36072Lnet/minecraft/class_4519;method_36072(Ljava/lang/reflect/Method;)Ljava/util/Collection;named getCustomTestFunctionsLnet/minecraft/test/TestFunctions;getCustomTestFunctions(Ljava/lang/reflect/Method;)Ljava/util/Collection;
-
getTestFunction
private static TestFunction getTestFunction(Method method)
- Mappings:
Namespace Name Mixin selector official cLlx;c(Ljava/lang/reflect/Method;)Lmm;intermediary method_36073Lnet/minecraft/class_4519;method_36073(Ljava/lang/reflect/Method;)Lnet/minecraft/class_4529;named getTestFunctionLnet/minecraft/test/TestFunctions;getTestFunction(Ljava/lang/reflect/Method;)Lnet/minecraft/test/TestFunction;
-
getInvoker
private static Consumer<?> getInvoker(Method method)
- Mappings:
Namespace Name Mixin selector official dLlx;d(Ljava/lang/reflect/Method;)Ljava/util/function/Consumer;intermediary method_36074Lnet/minecraft/class_4519;method_36074(Ljava/lang/reflect/Method;)Ljava/util/function/Consumer;named getInvokerLnet/minecraft/test/TestFunctions;getInvoker(Ljava/lang/reflect/Method;)Ljava/util/function/Consumer;
-
isInClass
private static boolean isInClass(TestFunction testFunction, String testClass)
- Mappings:
Namespace Name Mixin selector official aLlx;a(Lmm;Ljava/lang/String;)Zintermediary method_22192Lnet/minecraft/class_4519;method_22192(Lnet/minecraft/class_4529;Ljava/lang/String;)Znamed isInClassLnet/minecraft/test/TestFunctions;isInClass(Lnet/minecraft/test/TestFunction;Ljava/lang/String;)Z
-
getFailedTestFunctions
public static Collection<TestFunction> getFailedTestFunctions()
- Mappings:
Namespace Name Mixin selector official cLlx;c()Ljava/util/Collection;intermediary method_29405Lnet/minecraft/class_4519;method_29405()Ljava/util/Collection;named getFailedTestFunctionsLnet/minecraft/test/TestFunctions;getFailedTestFunctions()Ljava/util/Collection;
-
addFailedTestFunction
public static void addFailedTestFunction(TestFunction testFunction)
- Mappings:
Namespace Name Mixin selector official aLlx;a(Lmm;)Vintermediary method_29404Lnet/minecraft/class_4519;method_29404(Lnet/minecraft/class_4529;)Vnamed addFailedTestFunctionLnet/minecraft/test/TestFunctions;addFailedTestFunction(Lnet/minecraft/test/TestFunction;)V
-
clearFailedTestFunctions
public static void clearFailedTestFunctions()
- Mappings:
Namespace Name Mixin selector official dLlx;d()Vintermediary method_29406Lnet/minecraft/class_4519;method_29406()Vnamed clearFailedTestFunctionsLnet/minecraft/test/TestFunctions;clearFailedTestFunctions()V
-
-