Jump to content

How do i Make my Mod compatible to MCForge


Floppy012

Recommended Posts

Hello,

 

I am very new to the Modding area. I wrote a Mod which gives me a cape on a special Server. Now everytime I connect my Minecraft crashes with the following Crash report:

 

---- Minecraft Crash Report ----
// Sorry 

Time: 11.02.13 15:14
Description: Ticking screen

java.lang.AbstractMethodError: eg.getPlayer()Lqx;
at cg.b(TcpConnection.java:466)
at ayh.d(NetClientHandler.java:90)
at ayk.c(GuiConnecting.java:42)
at net.minecraft.client.Minecraft.l(Minecraft.java:1537)
at net.minecraft.client.Minecraft.J(Minecraft.java:846)
at net.minecraft.client.Minecraft.run(Minecraft.java:771)
at java.lang.Thread.run(Unknown Source)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at cg.b(TcpConnection.java:466)
at ayh.d(NetClientHandler.java:90)
at ayk.c(GuiConnecting.java:42)

-- Affected screen --
Details:
Screen name: aym
Stacktrace:
at net.minecraft.client.Minecraft.l(Minecraft.java:1537)
at net.minecraft.client.Minecraft.J(Minecraft.java:846)
at net.minecraft.client.Minecraft.run(Minecraft.java:771)
at java.lang.Thread.run(Unknown Source)

-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows NT (unknown) (amd64) version 6.2
Java Version: 1.7.0_04, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 565890272 bytes (539 MB) / 648740864 bytes (618 MB) up to 954466304 bytes (910 MB)
JVM Flags: 2 total; -Xms512m -Xmx1024m
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v7.26 FML v4.7.4.520 Minecraft Forge 6.6.0.497 Optifine OptiFine_1.4.6_HD_U_C3 5 mods loaded, 5 mods active
mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
craftguide [CraftGuide] (CraftGuide-1.6.5.12.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
mod_ZanMinimap [mod_ZanMinimap] (ZansMinimap1.4.7.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available
LWJGL: 2.4.2
OpenGL: ATI Mobility Radeon HD 5400 Series GL version 4.2.11931 Compatibility Profile Context, ATI Technologies Inc.
Is Modded: Definitely; Client brand changed to 'forge,fml'
Type: Client (map_client.txt)
Texture Pack: Default
Profiler Position: N/A (disabled)
Vec3 Pool Size: ~~ERROR~~ NullPointerException: null

 

I did not make any new class. I just edited some classes like:

 

EntityPlayerSP

EntityOtherPlayerMP

GuiingameMenu

GuiConnecting

GuiScreen

NetClientHandler

GuiMainMenu

 

Greetings

 

Floppy

 

Link to comment
Share on other sites

Do not edit base classes, we do not support anyone who edits base classes.

Even for something so retardedly trivial as this, which can be done completely without any base edits at all.

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

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

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