Skip to content
This repository has been archived by the owner on May 26, 2018. It is now read-only.

Error on load of world #395

Closed
Matts opened this issue Mar 24, 2014 · 8 comments
Closed

Error on load of world #395

Matts opened this issue Mar 24, 2014 · 8 comments

Comments

@Matts
Copy link

Matts commented Mar 24, 2014

When i load a world in a dev environment or in game it sometimes gives this really annoying error:
http://puu.sh/7I041.txt

it isnt pointing to my mod or anything i have used or done

@Matts Matts changed the title Error on lo Error on load of world Mar 24, 2014
@winstliu
Copy link

[21:12:53] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary.
This is generally a severe programming error.
There should be no mod code in the minecraft namespace. MOVE YOUR MOD!
If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

And also,
[21:13:03] [Client thread/ERROR] [FML]: The entity ID 300 for mod ExtraTorches is not an unsigned byte and may not work [21:13:03] [Client thread/ERROR] [FML]: The mod ExtraTorches has attempted to register an entity ID 300 which is already reserved. This could cause severe problems

@Matts
Copy link
Author

Matts commented Mar 24, 2014

but i dont understand what i would need to rename to what EDIT: There was nothing in the net.minecraft.src package in the first place: http://puu.sh/7I8p2.png
On Mar 24, 2014 10:33 PM, "Wliu" [email protected] wrote:

[21:12:53] [Client thread/ERROR] [FML]: FML has detected a mod that is
using a package name based on 'net.minecraft.src' :
net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe
programming error. There should be no mod code in the minecraft namespace.
MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor'
it into a new package. Go on. DO IT NOW!
?


Reply to this email directly or view it on GitHubhttps://github.com//issues/395#issuecomment-38503898
.

@ajfite
Copy link

ajfite commented Mar 27, 2014

[21:12:28] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre8

FML is not yet fully compatible with Java 8, though it also appears based on @50Wliu that you have an error in your entity registration.

See #394

@Matts
Copy link
Author

Matts commented Mar 27, 2014

hmm my java_home is on jdk7
On 27 Mar 2014 22:03, "AJ Fite" [email protected] wrote:

[21:12:28] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre8

FML is not yet compatible with Java 8

See #394 #394


Reply to this email directly or view it on GitHubhttps://github.com//issues/395#issuecomment-38860296
.

@MazeXD
Copy link

MazeXD commented Mar 28, 2014

The failing of entity registration doesn't have anything to do with Java 8 or any Java version.
Have a closer look at the error:

The entity ID 300 for mod ExtraTorches is not an unsigned byte and may not work

The id 300 can't be expressed as an unsigned byte (0 - 255).

Fix: Choose an entity ID below 256 for your entity

@LexManos
Copy link
Member

How are you registering the entity?
And yes, it's limited to 1 byte, but if you register things correctly you can use ALL of them as it also sends your modid when spawning so that you have your own complete range 0-255

@Matts
Copy link
Author

Matts commented Mar 29, 2014

i fixed the entity registration code to get unique id above the 200 but can
you mabey explain me what that message means when you get it? (io.netty)
On 27 Mar 2014 22:07, "Matthew Smeets" [email protected] wrote:

hmm my java_home is on jdk7
On 27 Mar 2014 22:03, "AJ Fite" [email protected] wrote:

[21:12:28] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0, running on Windows 8.1:amd64:6.3, installed at C:\Program Files\Java\jre8

FML is not yet compatible with Java 8

See #394 #394


Reply to this email directly or view it on GitHubhttps://github.com//issues/395#issuecomment-38860296
.

@cpw
Copy link
Contributor

cpw commented Jul 31, 2014

Use any id < 255. Simple. Closing for derp.

@cpw cpw closed this as completed Jul 31, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants