Railcraft

Railcraft

34M Downloads

I can't build and run the mod on minecraft 1.12.2

CG-man opened this issue · 1 comments

commented
E:\project\Railcraft [indev-1.12.2 ≡]> ./gradlew runClient

> Configure project :api:railcraft
This mapping 'snapshot_20171007' was designed for MC 1.12! Use at your own peril.
Version string 'unspecified' does not match SemVer specification
You should try SemVer : http://semver.org/

> Configure project :
This mapping 'snapshot_20171007' was designed for MC 1.12! Use at your own peril.
Found AccessTransformer: railcraft_at.cfg

> Task :api:railcraft:compileJava
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。

> Task :compileApiJava
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

> Task :compileJava FAILED
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:3: 错误: 程序包mezz.jei.api不存在
import mezz.jei.api.IJeiHelpers;
                   ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:4: 错误: 程序包mezz.jei.api.gui不存在
import mezz.jei.api.gui.IDrawableAnimated;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:5: 错误: 程序包mezz.jei.api.gui不存在
import mezz.jei.api.gui.IDrawableStatic;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:6: 错误: 程序包mezz.jei.api.ingredients不存在
import mezz.jei.api.ingredients.IIngredients;
                               ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:7: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.IRecipeWrapper;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:8: 错误: 程序包mezz.jei.config不存在
import mezz.jei.config.Constants;
                      ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:22: 错误: 找不到符号
public final class CokeOvenWrapper implements IRecipeWrapper {
                                              ^
  符号: 类 IRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:25: 错误: 找不到符号
    private final IJeiHelpers helpers;
                  ^
  符号:   类 IJeiHelpers
  位置: 类 CokeOvenWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:27: 错误: 找不到符号
    private final IDrawableStatic flame;
                  ^
  符号:   类 IDrawableStatic
  位置: 类 CokeOvenWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:28: 错误: 找不到符号
    private final IDrawableStatic arrow;
                  ^
  符号:   类 IDrawableStatic
  位置: 类 CokeOvenWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:30: 错误: 找不到符号
    public CokeOvenWrapper(IJeiHelpers helpers, ICokeOvenRecipe recipe) {
                           ^
  符号:   类 IJeiHelpers
  位置: 类 CokeOvenWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\cokeoven\CokeOvenWrapper.java:38: 错误: 找不到符号
    public void getIngredients(IIngredients ingredients) {
                               ^
  符号:   类 IIngredients
  位置: 类 CokeOvenWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\FluidRecipeInterpreter.java:3: 错误: 程序包mezz.jei.api.ingredients不存在
import mezz.jei.api.ingredients.IIngredientRegistry;
                               ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\FluidRecipeInterpreter.java:4: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.IStackHelper;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\FluidRecipeInterpreter.java:24: 错误: 找不到符号
    static IStackHelper helper;
           ^
  符号:   类 IStackHelper
  位置: 类 FluidRecipeInterpreter
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\FluidRecipeInterpreter.java:25: 错误: 找不到符号
    static IIngredientRegistry ingredientRegistry;
           ^
  符号:   类 IIngredientRegistry
  位置: 类 FluidRecipeInterpreter
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\FluidRecipeInterpreter.java:27: 错误: 找不到符号
    public static void init(IStackHelper helper, IIngredientRegistry registry) {
                            ^
  符号:   类 IStackHelper
  位置: 类 FluidRecipeInterpreter
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\FluidRecipeInterpreter.java:27: 错误: 找不到符号
    public static void init(IStackHelper helper, IIngredientRegistry registry) {
                                                 ^
  符号:   类 IIngredientRegistry
  位置: 类 FluidRecipeInterpreter
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapedFluidRecipeWrapper.java:3: 错误: 程序包mezz.jei.api.ingredients不存在
import mezz.jei.api.ingredients.IIngredients;
                               ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapedFluidRecipeWrapper.java:4: 错误: 程序包mezz.jei.api.recipe.wrapper不存在
import mezz.jei.api.recipe.wrapper.IShapedCraftingRecipeWrapper;
                                  ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapedFluidRecipeWrapper.java:5: 错误: 程序包mezz.jei.recipes不存在
import mezz.jei.recipes.BrokenCraftingRecipeException;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapedFluidRecipeWrapper.java:6: 错误: 程序包mezz.jei.util不存在
import mezz.jei.util.ErrorUtil;
                    ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapedFluidRecipeWrapper.java:13: 错误: 找不到符号
public final class ShapedFluidRecipeWrapper implements IShapedCraftingRecipeWrapper {
                                                       ^
  符号: 类 IShapedCraftingRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapedFluidRecipeWrapper.java:33: 错误: 找不到符号
    public void getIngredients(IIngredients ingredients) {
                               ^
  符号:   类 IIngredients
  位置: 类 ShapedFluidRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapelessFluidRecipeWrapper.java:3: 错误: 程序包mezz.jei.api.ingredients不存在
import mezz.jei.api.ingredients.IIngredients;
                               ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapelessFluidRecipeWrapper.java:4: 错误: 程序包mezz.jei.api.recipe.wrapper不存在
import mezz.jei.api.recipe.wrapper.ICraftingRecipeWrapper;
                                  ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapelessFluidRecipeWrapper.java:5: 错误: 程序包mezz.jei.recipes不存在
import mezz.jei.recipes.BrokenCraftingRecipeException;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapelessFluidRecipeWrapper.java:6: 错误: 程序包mezz.jei.util不存在
import mezz.jei.util.ErrorUtil;
                    ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapelessFluidRecipeWrapper.java:12: 错误: 找不到符号
public final class ShapelessFluidRecipeWrapper implements ICraftingRecipeWrapper {
                                                          ^
  符号: 类 ICraftingRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\crafting\ShapelessFluidRecipeWrapper.java:28: 错误: 找不到符号
    public void getIngredients(IIngredients ingredients) {
                               ^
  符号:   类 IIngredients
  位置: 类 ShapelessFluidRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:13: 错误: 程序包mezz.jei.api不存在
import mezz.jei.api.*;
^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:14: 错误: 程序包mezz.jei.api.ingredients不存在
import mezz.jei.api.ingredients.IModIngredientRegistration;
                               ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:15: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.IRecipeCategoryRegistration;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:16: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.VanillaRecipeCategoryUid;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:36: 错误: 找不到符号
public class RailcraftJEIPlugin implements IModPlugin {
                                           ^
  符号: 类 IModPlugin
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:35: 错误: 找不到符号
@JEIPlugin
 ^
  符号: 类 JEIPlugin
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:40: 错误: 找不到符号
    public void registerIngredients(IModIngredientRegistration registry) {
                                    ^
  符号:   类 IModIngredientRegistration
  位置: 类 RailcraftJEIPlugin
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:44: 错误: 找不到符号
    public void register(IModRegistry registry) {
                         ^
  符号:   类 IModRegistry
  位置: 类 RailcraftJEIPlugin
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:51: 错误: 找不到符号
    public void registerCategories(IRecipeCategoryRegistration registry) {
                                   ^
  符号:   类 IRecipeCategoryRegistration
  位置: 类 RailcraftJEIPlugin
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:94: 错误: 找不到符号
    private void addDescription(IModRegistry registry, ItemStack stack) {
                                ^
  符号:   类 IModRegistry
  位置: 类 RailcraftJEIPlugin
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\RailcraftJEIPlugin.java:103: 错误: 找不到符号
    public void registerItemSubtypes(ISubtypeRegistry subtypeRegistry) {
                                     ^
  符号:   类 ISubtypeRegistry
  位置: 类 RailcraftJEIPlugin
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:13: 错误: 程序包mezz.jei.api不存在
import mezz.jei.api.IGuiHelper;
                   ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:14: 错误: 程序包mezz.jei.api.gui不存在
import mezz.jei.api.gui.ICraftingGridHelper;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:15: 错误: 程序包mezz.jei.api.gui不存在
import mezz.jei.api.gui.IDrawable;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:16: 错误: 程序包mezz.jei.api.gui不存在
import mezz.jei.api.gui.IGuiItemStackGroup;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:17: 错误: 程序包mezz.jei.api.gui不存在
import mezz.jei.api.gui.IRecipeLayout;
                       ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:18: 错误: 程序包mezz.jei.api.ingredients不存在
import mezz.jei.api.ingredients.IIngredients;
                               ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:19: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.IRecipeCategory;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:20: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.IRecipeWrapper;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:29: 错误: 找不到符号
public class RollingMachineRecipeCategory implements IRecipeCategory<IRecipeWrapper> {
                                                     ^
  符号: 类 IRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:29: 错误: 找不到符号
public class RollingMachineRecipeCategory implements IRecipeCategory<IRecipeWrapper> {
                                                                     ^
  符号: 类 IRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:37: 错误: 找不到符号
    private final IDrawable background;
                  ^
  符号:   类 IDrawable
  位置: 类 RollingMachineRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:39: 错误: 找不到符号
    private final ICraftingGridHelper craftingGridHelper;
                  ^
  符号:   类 ICraftingGridHelper
  位置: 类 RollingMachineRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:41: 错误: 找不到符号
    public RollingMachineRecipeCategory(IGuiHelper guiHelper) {
                                        ^
  符号:   类 IGuiHelper
  位置: 类 RollingMachineRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:64: 错误: 找不到符号
    public IDrawable getBackground() {
           ^
  符号:   类 IDrawable
  位置: 类 RollingMachineRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:69: 错误: 找不到符号
    public void setRecipe(IRecipeLayout recipeLayout, IRecipeWrapper recipeWrapper, IIngredients ingredients) {
                          ^
  符号:   类 IRecipeLayout
  位置: 类 RollingMachineRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:69: 错误: 找不到符号
    public void setRecipe(IRecipeLayout recipeLayout, IRecipeWrapper recipeWrapper, IIngredients ingredients) {
                                                      ^
  符号:   类 IRecipeWrapper
  位置: 类 RollingMachineRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeCategory.java:69: 错误: 找不到符号
    public void setRecipe(IRecipeLayout recipeLayout, IRecipeWrapper recipeWrapper, IIngredients ingredients) {
                                                                                    ^
  符号:   类 IIngredients
  位置: 类 RollingMachineRecipeCategory
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeWrapper.java:13: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.IRecipeWrapper;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\RollingMachineRecipeWrapper.java:15: 错误: 找不到符号
public abstract class RollingMachineRecipeWrapper implements IRecipeWrapper {
                                                             ^
  符号: 类 IRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\ShapedRollingMachineRecipeWrapper.java:3: 错误: 程序包mezz.jei.api.ingredients不存在
import mezz.jei.api.ingredients.IIngredients;
                               ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\ShapedRollingMachineRecipeWrapper.java:4: 错误: 程序包mezz.jei.api.recipe不存在
import mezz.jei.api.recipe.IRecipeWrapper;
                          ^
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\ShapedRollingMachineRecipeWrapper.java:9: 错误: 找不到符号
public final class ShapedRollingMachineRecipeWrapper implements IRecipeWrapper {
                                                                ^
  符号: 类 IRecipeWrapper
E:\project\Railcraft\build\sources\main\java\mods\railcraft\common\plugins\jei\rolling\ShapedRollingMachineRecipeWrapper.java:12: 错误: 找不到符号
    public void getIngredients(IIngredients ingredients) {
                               ^
  符号:   类 IIngredients
  位置: 类 ShapedRollingMachineRecipeWrapper
64 个错误

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.7/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 41s
commented

Will fix it tomorrow once I'm free.

明天我一有空就会修复。