类的使用
net.minecraft.test.TestFunction
-
使用TestFunction的程序包 程序包 说明 net.minecraft.command.argument net.minecraft.server.command net.minecraft.test -
-
net.minecraft.command.argument中TestFunction的使用
返回TestFunction的net.minecraft.command.argument中的方法 修饰符和类型 方法 说明 static TestFunctionTestFunctionArgumentType. getFunction(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name)TestFunctionTestFunctionArgumentType. parse(com.mojang.brigadier.StringReader stringReader) -
net.minecraft.server.command中TestFunction的使用
参数类型为TestFunction的net.minecraft.server.command中的方法 修饰符和类型 方法 说明 private static intTestCommand. executeRun(ServerCommandSource source, TestFunction testFunction, int rotationSteps)private static voidTestCommand. setWorld(TestFunction testFunction, ServerWorld world)类型变量类型为TestFunction的net.minecraft.server.command中的方法参数 修饰符和类型 方法 说明 private static voidTestCommand. run(ServerCommandSource source, Collection<TestFunction> testFunctions, int rotationSteps, int int2) -
net.minecraft.test中TestFunction的使用
声明为TestFunction的net.minecraft.test中的字段 修饰符和类型 字段 说明 private TestFunctionGameTestState. testFunction类型参数类型为TestFunction的net.minecraft.test中的字段 修饰符和类型 字段 说明 private static Collection<TestFunction>TestFunctions. FAILED_TEST_FUNCTIONSprivate static Collection<TestFunction>TestFunctions. TEST_FUNCTIONSprivate Collection<TestFunction>GameTestBatch. testFunctions返回TestFunction的net.minecraft.test中的方法 修饰符和类型 方法 说明 TestFunctionGameTestState. getTestFunction()private static TestFunctionTestFunctions. getTestFunction(Method method)static TestFunctionTestFunctions. getTestFunctionOrThrow(String structurePath)返回变量类型为TestFunction的类型的net.minecraft.test中的方法 修饰符和类型 方法 说明 private static Collection<TestFunction>TestFunctions. getCustomTestFunctions(Method method)static Collection<TestFunction>TestFunctions. getFailedTestFunctions()static Optional<TestFunction>TestFunctions. getTestFunction(String structurePath)Collection<TestFunction>GameTestBatch. getTestFunctions()static Collection<TestFunction>TestFunctions. getTestFunctions()static Collection<TestFunction>TestFunctions. getTestFunctions(String testClass)参数类型为TestFunction的net.minecraft.test中的方法 修饰符和类型 方法 说明 static voidTestFunctions. addFailedTestFunction(TestFunction testFunction)private static booleanTestFunctions. isInClass(TestFunction testFunction, String testClass)类型变量类型为TestFunction的net.minecraft.test中的方法参数 修饰符和类型 方法 说明 static Collection<GameTestBatch>TestUtil. createBatches(Collection<TestFunction> testFunctions)static Collection<GameTestState>TestUtil. runTestFunctions(Collection<TestFunction> testFunctions, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)参数类型为TestFunction的net.minecraft.test中的构造器 构造器 说明 GameTestState(TestFunction testFunction, BlockRotation rotation, ServerWorld world)类型变量类型为TestFunction的net.minecraft.test中的构造器参数 构造器 说明 GameTestBatch(String id, Collection<TestFunction> testFunctions, @Nullable Consumer<ServerWorld> beforeBatchConsumer, @Nullable Consumer<ServerWorld> afterBatchConsumer)
-