Package net.minecraft.test
Class TestFunctions
java.lang.Object
net.minecraft.test.TestFunctions
public class TestFunctions extends Object
- Mappings:
Namespace Name official ls
intermediary net/minecraft/class_4519
named net/minecraft/test/TestFunctions
-
Field Summary
Fields Modifier and Type Field Description private static Collection<TestFunction>
FAILED_TEST_FUNCTIONS
private static Map<String,Consumer<ServerWorld>>
field_27806
private static Collection<TestFunction>
TEST_FUNCTIONS
private static Set<String>
testClasses
private static Map<String,Consumer<ServerWorld>>
WORLD_SETTERS
-
Constructor Summary
Constructors Constructor Description TestFunctions()
-
Method Summary
Modifier and Type Method Description static void
addFailedTestFunction(TestFunction testFunction)
static void
clearFailedTestFunctions()
static Collection<TestFunction>
getFailedTestFunctions()
static Collection<String>
getTestClasses()
static Optional<TestFunction>
getTestFunction(String structurePath)
static TestFunction
getTestFunctionOrThrow(String structurePath)
static Collection<TestFunction>
getTestFunctions()
static Collection<TestFunction>
getTestFunctions(String testClass)
static Consumer<ServerWorld>
getWorldSetter(String batchId)
private static boolean
isInClass(TestFunction testFunction, String testClass)
static Consumer<ServerWorld>
method_32244(String batchId)
static boolean
testClassExists(String testClass)
-
Field Details
-
TEST_FUNCTIONS
- Mappings:
Namespace Name Mixin selector official a
Lls;a:Ljava/util/Collection;
intermediary field_20570
Lnet/minecraft/class_4519;field_20570:Ljava/util/Collection;
named TEST_FUNCTIONS
Lnet/minecraft/test/TestFunctions;TEST_FUNCTIONS:Ljava/util/Collection;
-
testClasses
- Mappings:
Namespace Name Mixin selector official b
Lls;b:Ljava/util/Set;
intermediary field_20571
Lnet/minecraft/class_4519;field_20571:Ljava/util/Set;
named testClasses
Lnet/minecraft/test/TestFunctions;testClasses:Ljava/util/Set;
-
WORLD_SETTERS
- Mappings:
Namespace Name Mixin selector official c
Lls;c:Ljava/util/Map;
intermediary field_20572
Lnet/minecraft/class_4519;field_20572:Ljava/util/Map;
named WORLD_SETTERS
Lnet/minecraft/test/TestFunctions;WORLD_SETTERS:Ljava/util/Map;
-
field_27806
- Mappings:
Namespace Name Mixin selector official d
Lls;d:Ljava/util/Map;
intermediary field_27806
Lnet/minecraft/class_4519;field_27806:Ljava/util/Map;
named field_27806
Lnet/minecraft/test/TestFunctions;field_27806:Ljava/util/Map;
-
FAILED_TEST_FUNCTIONS
- Mappings:
Namespace Name Mixin selector official e
Lls;e:Ljava/util/Collection;
intermediary field_25302
Lnet/minecraft/class_4519;field_25302:Ljava/util/Collection;
named FAILED_TEST_FUNCTIONS
Lnet/minecraft/test/TestFunctions;FAILED_TEST_FUNCTIONS:Ljava/util/Collection;
-
-
Constructor Details
-
TestFunctions
public TestFunctions()
-
-
Method Details
-
getTestFunctions
- Mappings:
Namespace Name Mixin selector official a
Lls;a(Ljava/lang/String;)Ljava/util/Collection;
intermediary method_22193
Lnet/minecraft/class_4519;method_22193(Ljava/lang/String;)Ljava/util/Collection;
named getTestFunctions
Lnet/minecraft/test/TestFunctions;getTestFunctions(Ljava/lang/String;)Ljava/util/Collection;
-
getTestFunctions
- Mappings:
Namespace Name Mixin selector official a
Lls;a()Ljava/util/Collection;
intermediary method_22191
Lnet/minecraft/class_4519;method_22191()Ljava/util/Collection;
named getTestFunctions
Lnet/minecraft/test/TestFunctions;getTestFunctions()Ljava/util/Collection;
-
getTestClasses
- Mappings:
Namespace Name Mixin selector official b
Lls;b()Ljava/util/Collection;
intermediary method_22195
Lnet/minecraft/class_4519;method_22195()Ljava/util/Collection;
named getTestClasses
Lnet/minecraft/test/TestFunctions;getTestClasses()Ljava/util/Collection;
-
testClassExists
- Mappings:
Namespace Name Mixin selector official b
Lls;b(Ljava/lang/String;)Z
intermediary method_22196
Lnet/minecraft/class_4519;method_22196(Ljava/lang/String;)Z
named testClassExists
Lnet/minecraft/test/TestFunctions;testClassExists(Ljava/lang/String;)Z
-
getWorldSetter
- Mappings:
Namespace Name Mixin selector official c
Lls;c(Ljava/lang/String;)Ljava/util/function/Consumer;
intermediary method_22198
Lnet/minecraft/class_4519;method_22198(Ljava/lang/String;)Ljava/util/function/Consumer;
named getWorldSetter
Lnet/minecraft/test/TestFunctions;getWorldSetter(Ljava/lang/String;)Ljava/util/function/Consumer;
-
method_32244
- Mappings:
Namespace Name Mixin selector official d
Lls;d(Ljava/lang/String;)Ljava/util/function/Consumer;
intermediary method_32244
Lnet/minecraft/class_4519;method_32244(Ljava/lang/String;)Ljava/util/function/Consumer;
named method_32244
Lnet/minecraft/test/TestFunctions;method_32244(Ljava/lang/String;)Ljava/util/function/Consumer;
-
getTestFunction
- Mappings:
Namespace Name Mixin selector official e
Lls;e(Ljava/lang/String;)Ljava/util/Optional;
intermediary method_22199
Lnet/minecraft/class_4519;method_22199(Ljava/lang/String;)Ljava/util/Optional;
named getTestFunction
Lnet/minecraft/test/TestFunctions;getTestFunction(Ljava/lang/String;)Ljava/util/Optional;
-
getTestFunctionOrThrow
- Mappings:
Namespace Name Mixin selector official f
Lls;f(Ljava/lang/String;)Lmh;
intermediary method_22200
Lnet/minecraft/class_4519;method_22200(Ljava/lang/String;)Lnet/minecraft/class_4529;
named getTestFunctionOrThrow
Lnet/minecraft/test/TestFunctions;getTestFunctionOrThrow(Ljava/lang/String;)Lnet/minecraft/test/TestFunction;
-
isInClass
- Mappings:
Namespace Name Mixin selector official a
Lls;a(Lmh;Ljava/lang/String;)Z
intermediary method_22192
Lnet/minecraft/class_4519;method_22192(Lnet/minecraft/class_4529;Ljava/lang/String;)Z
named isInClass
Lnet/minecraft/test/TestFunctions;isInClass(Lnet/minecraft/test/TestFunction;Ljava/lang/String;)Z
-
getFailedTestFunctions
- Mappings:
Namespace Name Mixin selector official c
Lls;c()Ljava/util/Collection;
intermediary method_29405
Lnet/minecraft/class_4519;method_29405()Ljava/util/Collection;
named getFailedTestFunctions
Lnet/minecraft/test/TestFunctions;getFailedTestFunctions()Ljava/util/Collection;
-
addFailedTestFunction
- Mappings:
Namespace Name Mixin selector official a
Lls;a(Lmh;)V
intermediary method_29404
Lnet/minecraft/class_4519;method_29404(Lnet/minecraft/class_4529;)V
named addFailedTestFunction
Lnet/minecraft/test/TestFunctions;addFailedTestFunction(Lnet/minecraft/test/TestFunction;)V
-
clearFailedTestFunctions
public static void clearFailedTestFunctions()- Mappings:
Namespace Name Mixin selector official d
Lls;d()V
intermediary method_29406
Lnet/minecraft/class_4519;method_29406()V
named clearFailedTestFunctions
Lnet/minecraft/test/TestFunctions;clearFailedTestFunctions()V
-