Jump to content

Error decompiling with Forge. RenderGlobal, Object -> EntityFX


Recommended Posts

Posted

So, I'm trying to decompile with Forge (something I have done successfully before!). This error is persistently popping up though. I'm using a clean jar (I deleted my .minecraft and redownloaded everything using the vanilla launcher), with a clean server jar fresh off minecraft.net. Yet I get this error persistently:

17:24:46 - !! Modified jar detected. Unpredictable results !!
17:27:12 - 'runtime\bin\applydiff.exe -p1 -u -i ..\..\temp\temp.patch -d src\minecraft' failed : 1
17:27:12 - 
17:27:12 - == ERRORS FOUND ==
17:27:12 - 
17:27:12 - 1 out of 1 hunk FAILED -- saving rejects to file 'net\minecraft\src\RenderGlobal.#'
17:27:12 - ==================
17:27:12 - 
17:27:28 - !! renaming disabled !!
17:29:38 - !! renaming disabled !!
17:29:50 - '"C:\Program Files\Java\jdk1.7.0_01\bin\javac" -encoding UTF-8 -Xlint:-options -deprecation -g -sourc...' failed : 1
17:29:50 - 
17:29:50 - == ERRORS FOUND ==
17:29:50 - 
17:29:50 - src\minecraft\net\minecraft\src\RenderGlobal.java:1789: error: method func_78873_a in class EffectRenderer cannot be applied to given types;
17:29:50 -                     this.field_72777_q.field_71452_i.func_78873_a(var21 = new EntityHugeExplodeFX(this.field_72769_h, p_72726_2_, p_72726_4_, p_72726_6_, p_72726_8_, p_72726_10_, p_72726_12_));
17:29:50 -                                                     ^
17:29:50 - 
17:29:50 -   required: EntityFX
17:29:50 -   found: Object
17:29:50 -   reason: actual argument Object cannot be converted to EntityFX by method invocation conversion
17:29:50 - src\minecraft\net\minecraft\src\RenderGlobal.java:1794: error: method func_78873_a in class EffectRenderer cannot be applied to given types;
17:29:50 -                 this.field_72777_q.field_71452_i.func_78873_a(var21 = new EntityLargeExplodeFX(this.field_72770_i, this.field_72769_h, p_72726_2_, p_72726_4_, p_72726_6_, p_72726_8_, p_72726_10_, p_72726_12_));
17:29:50 -                                                 ^
17:29:50 - 
17:29:50 -   required: EntityFX
17:29:50 -   found: Object
17:29:50 -   reason: actual argument Object cannot be converted to EntityFX by method invocation conversion
17:29:50 - 2 errors
17:29:50 - ==================
17:29:50 - 

The error seems to be fatal and the install does not finish.

This is what I did:

Downloaded MCP.

Downloaded Forge source (latest version).

Decompressed MCP, put the "forge" folder in with it.

Downloaded a clean Minecraft JAR and a minecraft_server JAR.

Placed the bin/ and minecraft_server.jar in the "jars" folder for MCP.

Ran the "install.bat" script.

It gets to "Recompiling Client" before crashing. I noticed a big list of warnings in another error log for missing fields but I assumed this was the normal "chatter" you get when running programs.

I'm running on Windows 7 64bit with the Java 7 JDK. And my existing Forge based mods (but for 1.2.5 mind you) are still compiling fine.

 

CPU: i7 2760QM

GPU: nVidia 540M

RAM: (Dell) 8GB

Dell XPS L502X

Posted

Which version of MCP do you use?

Which version of Minecraft (Server) do you use?

Which version of Forge do you use?

Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! |

mah twitter

This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.

Posted

17:24:46 - !! Modified jar detected. Unpredictable results !!

17:27:12 - 'runtime\bin\applydiff.exe -p1 -u -i ..\..\temp\temp.patch -d src\minecraft' failed : 1

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

That's the odd thing. These aren't modified jars. They're both fresh. The client jar was obtained by deleting my .minecraft and opening Mojang's launcher. The server jar was obtained directly off minecraft.net/download.jsp.

Posted

There is nothing to fix, you're gunna have to figure out what you're doing wrong that makes them modified jars.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Look, I look in the jar, it has a META-INF. I run the forge installer and then it fails to decompile and the META-INF is gone from the jar. Surely this must be something playing up? Or am I doing something wrong.

Posted

Hi,

Seeing this and pretty sure I know the answer, I gotta say something.

The jars should be 1.4.4 or you could use 1.4.5.

Be SURE to use MCP 7.22. I bet that's the problem.

If you had MCP update itself, then redownload the right version.

Thanks for your time... Hopefully I can reply soon after you reply, but I'm busy, anyways.

I can't wait to start working on my mod. I haven't worked on it in a while but it is on

Github. It needs much more organization and work, I have lots of plans. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • You will find the crash-report or log in your minecraft directory (crash-report or logs folder)
    • Use a modpack which is using these 2 mods as working base:   https://www.curseforge.com/minecraft/modpacks/life-in-the-village-3
    • inicie un mundo donde instale Croptopia y Farmer's Delight, entonces instale el addon Croptopia Delight pero no funciona. es la version 1.18.2
    • Hello all. I'm currently grappling with the updateShape method in a custom class extending Block.  My code currently looks like this: The conditionals in CheckState are there to switch blockstate properties, which is working fine, as it functions correctly every time in getStateForPlacement.  The problem I'm running into is that when I update a state, the blocks seem to call CheckState with the position of the block which was changed updated last.  If I build a wall I can see the same change propagate across. My question thus is this: is updateShape sending its return to the neighbouring block?  Is each block not independently executing the updateShape method, thus inserting its own current position?  The first statement appears to be true, and the second false (each block is not independently executing the method). I have tried to fix this by saving the block's own position to a variable myPos at inception, and then feeding this in as CheckState(myPos) but this causes a worse outcome, where all blocks take the update of the first modified block, rather than just their neighbour.  This raises more questions than it answers, obviously: how is a different instance's variable propagating here?  I also tried changing it so that CheckState did not take a BlockPos, but had myPos built into the body - same problem. I have previously looked at neighbourUpdate and onNeighbourUpdate, but could not find a way to get this to work at all.  One post on here about updatePostPlacement and other methods has proven itself long superceded.  All other sources on the net seem to be out of date. Many thanks in advance for any help you might offer me, it's been several days now of trying to get this work and several weeks of generally trying to get round this roadblock.  - Sandermall
    • sorry, I might be stupid, but how do I open it? because the only options I have are too X out, copy it, which doesn't work and send crash report, which doesn't show it to me, also, sorry for taking so long.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.