fr1kin / ForgeHax

A Minecraft cheat that runs as a Forge mod
MIT License
486 stars 128 forks source link

Can't build in intellj idea #456

Closed Villygrimm closed 8 months ago

Villygrimm commented 8 months ago

when i build forgehax 2.9.0 for minecraft 1.12.2, i have this error: cannot access AddPlayerData .filter(Objects::nonNull) bad class file: .gradle\caches\minecraft\net\minecraftforge\forge\1.12.2-14.23.0.2486\snapshot\20170624\forgeBin-1.12.2-14.23.0.2486.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.

how can i fix it ?

fr1kin commented 8 months ago

What JDK version are you using?

Villygrimm commented 8 months ago

1.8.0_333

fr1kin commented 8 months ago

It built for me just fine. Make sure you are running ./gradlew setupDecompWorkspace before doing ./gradlew build

Villygrimm commented 8 months ago

I try it later

Villygrimm commented 8 months ago

I think I fixed the problem, thanks