Minecraft Mods

1.5.1 MCP RenderBlocks.java error fix

  • 3,998 views, 2 today
  • 475 downloads, 0 today
  • 2
  • 1
  • 4
yutub34's Avatar yutub34
Level 44 : Master Modder
12
Minecraft Coder Pack - decompiling failed

There are a little bug in minecraft 1.5 that will be detected by MCP when you decompile or recompile.
It's not a big bug that will have any effect on the game... But MCP will still say it's an error. I have fixed
that problem. This is not a mod for the game. It's a fix for the Minecraft Coder Pack.

How to install it to your MCP:

1. Set up MCP and decompile
2. You will get an error message (written bellow)
3. Go to your client sources
4. Copy and paste RenderBlocks.java from the download inside the client sources. Replace the old one.
5. Run updatemd5
6. The error is now fixed, and you can now mod minecraft without any errors from RenderBlocks.java

This is the error message:


== Recompiling client ==
> Cleaning bin
> Recompiling
'"javac" -Xlint:-options -deprecation -g -source 1.6 -target 1.6 -classpath "lib:lib/*:jars/bin/minec...' failed : 1

== ERRORS FOUND ==

src/minecraft/net/minecraft/src/RenderBlocks.java:4960: missing return statement
}
^

1 error
==================
Progress100% complete
Game VersionMinecraft 1.5
Tags

Create an account or sign in to comment.

1
05/26/2013 10:22 pm
Level 1 : New Crafter
chrixian
chrixian's Avatar
This is a problem with Fernflower running out of memory.

You do not need to change any source code you simply need to open the conf/mcp.cfg file and find the "CmdFernflower" command and prepend "-Xmx512M" in front of -jar
1
04/21/2013 12:28 pm
Level 21 : Expert Modder
EdMaxPrime
EdMaxPrime's Avatar
This one didn't work for me, although I did see the error. A method was named wrong, you just have to comment it out.
1
04/16/2013 8:12 pm
Level 21 : Expert Modder
EdMaxPrime
EdMaxPrime's Avatar
Thank you so mucH! I thought I might never fix this myself.
1
04/21/2013 7:10 am
Level 44 : Master Modder
yutub34
yutub34's Avatar
It was a problem for me too, and It was very annoying :) No problem!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome