Bewitchment (Legacy)

Bewitchment (Legacy)

8M Downloads

Build error

handicraftsman opened this issue ยท 2 comments

commented
> Task :compileJava 
warning: No processor claimed any of these annotations: mezz.jei.api.JEIPlugin,mcp.MethodsReturnNonnullByDefault,net.minecraftforge.common.config.Config,net.minecraftforge.fml.common.Mod.EventBusSubscriber,net.minecraftforge.fml.common.Optional.Method,net.minecraftforge.fml.common.Optional.Interface,net.minecraftforge.common.capabilities.CapabilityInject,net.minecraftforge.fml.common.Mod.Instance,net.minecraftforge.fml.common.registry.GameRegistry.ObjectHolder,javax.annotation.ParametersAreNonnullByDefault,net.minecraftforge.common.config.Config.Comment,net.minecraftforge.fml.common.Mod.EventHandler,net.minecraftforge.fml.common.API,net.minecraftforge.fml.common.eventhandler.SubscribeEvent,net.minecraftforge.common.config.Config.RequiresMcRestart,net.minecraftforge.fml.common.SidedProxy,net.minecraftforge.fml.common.Mod,net.minecraftforge.fml.relauncher.SideOnly,net.minecraftforge.common.config.Config.LangKey,javax.annotation.Nonnull,javax.annotation.Nullable
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith': class file for com.google.errorprone.annotations.CompatibleWith not found
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar(com/google/common/collect/Multimap.class): warning: Cannot find annotation method 'value()' in type 'CompatibleWith'
/home/ancient/Load/Bewitchment/build/sources/main/java/com/bewitchment/client/core/event/MimicEventHandler.java:43: error: cannot access AddPlayerData
                        NetworkPlayerInfo victimInfo = new NetworkPlayerInfo(new GameProfile(event.getVictimID(), event.getVictimName()));
                                                       ^
  bad class file: /home/ancient/.gradle/caches/minecraft/net/minecraftforge/forge/1.12.2-14.23.4.2760/snapshot/20171003/forgeBin-1.12.2-14.23.4.2760.jar(net/minecraft/network/play/server/SPacketPlayerListItem$AddPlayerData.class)
    bad RuntimeInvisibleParameterAnnotations attribute: AddPlayerData(GameProfile,int,GameType,ITextComponent)
    Please remove or make sure it appears in the correct subdirectory of the classpath.
1 error
8 warnings

This is a build in a fresh workspace.
By the way, /gradlew does not have an executable flag.

commented

This seems to be a forge bug when a mod deals with a specific class. You need to setup the environment first with the setupDecompWorkspace option

commented

Oh, thanks. I do not work with minecraft mods much, so i did not need this before. Waiting for MC to decompile now.