Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

[1.8.1/4.4]How to install Minecraft Forge into MCP


  • Please log in to reply
21 replies to this topic

#1

xxmatthewo
  • Location: Intercourse, Pennsylvania

Posted 27 October 2011 - 08:27 PM

inb4 herrderr itz s0 easy just run install.bat n00b

This tutorial is mainly how to fix errors you can get along with it.

Here is a simple tutorial on installing Minecraft Forge:

1. Setup MCP
2. Install ModLoader, and ModLoaderMP into minecraft.jar inside mcp/jars/bin/minecraft.jar
3. Decompile, and recompile. If it recompiles successfully then move on.
4. Download Minecraft Forge Source on the official thread.
5. Place folder forge inside your mcp folder
6. Run mcp/forge/install.bat then recompile
6a) If you get no errors when you recompile, you are good and can go and mod with MCForge
6b) In most cases you will get two problems when recompiling and they are

(click the spoiler to show error and solution)

Errors in Tesselator.java and other files
Spoiler:
Errors in BlockContainer.java
Spoiler:

If this helped you, if could always press that + rep button.
If you have more to add, or get more problems I may answer them

Note: This is errors related to installing MCForge not errors when modding with MCForge, or modloader, or whatever.
When I help you, just press the +1 button so I feel better, instead of just leaving the thread.
Posted Image

Register or log in to remove.

#2

musicdudez
  • Location: Sweden
  • Minecraft: musicdudez
  • Xbox:musicdudez

Posted 27 October 2011 - 08:28 PM

Hope it works :D

Posted Image


#3

xxmatthewo
  • Location: Intercourse, Pennsylvania

Posted 30 October 2011 - 02:30 AM

No one found this useful?
When I help you, just press the +1 button so I feel better, instead of just leaving the thread.
Posted Image

#4

XlzQwerty1

Posted 31 October 2011 - 08:26 PM

Thanks so much for the reply in that previous topic. I was away for a while, but I'll try this out and see how it goes. Thanks!

#5

tiaren
    tiaren

    Tree Puncher

  • Members
  • 11 posts

Posted 05 November 2011 - 07:27 PM

Gonna guess not to update MCP until they and forge are compatible once again?

My first concerted effort to mod Minecraft and I ran into this whirlwind of interfacing issues >"<. The good: zero red errors in eclipse. The bad: 2579 warnings, of which the first 100 are "references to generic arraylist should be parameterized" lulz.

also bump

#6

tiaren
    tiaren

    Tree Puncher

  • Members
  • 11 posts

Posted 05 November 2011 - 07:45 PM

As the only place I've found help, I'd pose this question here.

I've got several conflicts:
Spoiler:
As well, I have a "Chunk.java~" for client, but I'm not really sure what the problem is. It's a bit hard to siphon through that code to look for that one or two lines of difference.

Just to ensure I start on a solid footing, can you confirm some things for me:

RenderBlocks is favoring a float for a double
SlotCrafting just needs that line replaced
TileEntityFurnace fixes a math problem when shift-clicking stacks into a furnace
I can ignore the Chunks.java file and otherwise I'm ready to start coding? :-D

TYVM!

Edit: turns out you can compare versions online. Chunks.java~ has a whole bunch of redundant one line calls to worldObj.getClass(). Looks like defunct troubleshoot code. Also, ways to remove corrupt blocks. Looks scary.

#7

MeHungary
  • Minecraft: mehungary

Posted 08 November 2011 - 05:05 AM

Well I worked great for me. Thanks a lot! :iapprove:  :iapprove:

#8

Builder4Free
  • Minecraft: pazzword

Posted 08 November 2011 - 05:24 PM

Great job here. It helped me a lot.
MOD EDIT: Builder4Free is awesome!

#9

Tanman80
  • Location: USA

Posted 13 November 2011 - 02:59 AM

Thanks so much I couldn't figure out why Forge had made errors and no one on the thread wanted to respond to anyone else's problems.
Posted Image

#10

enablerbr
    enablerbr

    Forum/Wiki Sponsor

  • Curse Premium
  • 32 posts
  • Location: London, United Kingdom

Posted 13 November 2011 - 10:08 PM

xxmatthewo i followed your instructions to fix the Tesselator.java problem. all seemed well till i fired up eclipse. i now get 4 errors.

Description	Resource	Path	Location	Type
The method func_35917_r() is undefined for the type WorldInfo	ApiWorldProvider.java	/ModSystem/src/MCP/overrides	line 22	Java Problem
The method func_35962_c() is undefined for the type KeyBinding	ApiCore.java	/ModSystem/src/MCP/overrides	line 439	Java Problem
The method getRandomSeed() is undefined for the type World	ApiWorldProvider.java	/ModSystem/src/MCP/overrides	line 22	Java Problem
The method getRandomSeed() is undefined for the type World	ApiWorldProviderHell.java	/ModSystem/src/MCP/overrides	line 22	Java Problem

i'm using mcp 4.4, ModLoader, ModLoaderMP 1.8.1 (client and server),minecraftforge-src-1.1.2

#11

Stratagerm
  • Minecraft: Stratagerm

Posted 14 November 2011 - 10:29 AM

View Postxxmatthewo, on 30 October 2011 - 02:30 AM, said:

No one found this useful?
I did! Thanks for putting it together, more documentation is always good.

View Posttiaren, on 05 November 2011 - 07:45 PM, said:

I've got several conflicts:
client RenderBlocks.java

RenderBlocks is favoring a float for a double
Yes, it's changing the declaration from a double to a float.

Apparently this isn't a Forge problem, I got it just after installing ModLoader & ModLoaderMP, haven't installed Forge yet. It's the sole rejected patch.

#12

StaticzModder
    StaticzModder

    The Meaning of Life, the Universe, and Everything...

  • Members
  • 42 posts

Posted 25 November 2011 - 08:58 AM

.\runtime\bin\applydiff.exe --binary -p1 -u -i ..\..\temp/temp.patch -d src/minecraft failed.

For the new MCP for 1.0.0, then it creates another HUNK Error:

== ERRORS FOUND ==

1 out of 1 hunk FAILED -- saving rejects to file 'net\minecraft\src\RenderBlocks
.#'

==================

If you could help me :)

#13

MrCreeperCrafter

Posted 11 December 2011 - 03:25 PM

hi i am getting 8 errors in EntityPlayer.java

+rep and :Diamond: :Diamond: for the Solution

Spoiler:

@StaticzModder

i have that error as well before installing forge but the client seems to run fine

#14

daddyo4444
  • Location: United States
  • Minecraft: daddyo4444

Posted 19 December 2011 - 04:16 PM

I still have no clue what MCP is... :(

#15

MrMarkShark
  • Location: London, Canada
  • Minecraft: MrMarkShark

Posted 19 December 2011 - 05:06 PM

View Postdaddyo4444, on 19 December 2011 - 04:16 PM, said:

I still have no clue what MCP is... :(
same here :/
Posted Image

#16

traceurwill
  • Location: Lincoln, England
  • Minecraft: TraceurWill

Posted 26 December 2011 - 12:25 PM

View PostMrMarkShark, on 19 December 2011 - 05:06 PM, said:

same here :/
MCP is minecraft coder pack, it allows the user to easily decompile (take apart) the java code and recompile it for easy modding :) It pretty much converts the code from something the pc can read to something the user can

#17

WrongHeaven
  • Location: Norway
  • Minecraft: WrongHeaven

Posted 31 December 2011 - 02:22 PM

View PostMrMarkShark, on 19 December 2011 - 05:06 PM, said:

same here :/

You're missing a square bracket in your signature..

Posted Image


#18

TFCxAddict
  • Location: Colorado, United States of America
  • Minecraft: TFCxAddict

Posted 08 March 2012 - 05:25 AM

I got about 293849238492384923489 hunk errors. Help? XD

Posted Image


#19

UndeadParrot

Posted 17 March 2012 - 04:49 PM

I also seem to be getting pages full of hunk errors.
Spoiler:

FIXED!
Turns out I was using the wrong version of Forge, I was using 1.2.3's recommended build, but everything works beautifully with 1.3.4.29. :D Thank you Forge!

#20

TFCxAddict
  • Location: Colorado, United States of America
  • Minecraft: TFCxAddict

Posted 18 March 2012 - 01:26 AM

View PostUndeadParrot, on 17 March 2012 - 04:49 PM, said:

I also seem to be getting pages full of hunk errors.
Spoiler:

FIXED!
Turns out I was using the wrong version of Forge, I was using 1.2.3's recommended build, but everything works beautifully with 1.3.4.29. Posted Image Thank you Forge!

Same thing happened to me ;)

Posted Image