Jump to content

[Forge 1.5.2] World Gen not working?


Fayne37

Recommended Posts

EMMI34b.png

 

You don't really need the code, besides this.. but this is in the main part of my package, and I made a WorldGeneratorFisherman.java class and no errors in it, but I always get an error on GameRegistry.registerWorldGenerator(new WorldGeneratorFisherman());

 

 

This code works, but if you need it, my Generation.

 

 

http://gw.minecraftforge.net/8UKL

Link to comment
Share on other sites

You don't really need the code

if you're asking the question, you should probably should print the code...

 

anyway from the image it looks(maybe that not it) like the call isnt even made from inside a function

and in any case this kind of error is usually related to syntax error

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

You don't really need the code

if you're asking the question, you should probably should print the code...

 

anyway from the image it looks(maybe that not it) like the call isnt even made from inside a function

and in any case this kind of error is usually related to syntax error

 

There isn't any other code for this, that's the only line I have for the World Generation, and my class file I linked to..

http://gw.minecraftforge.net/8UKL

 

The rest of the code in my file is for the items, and textures. I'm just asking why isn't this command i'm using working.. and is there any other one I can use so it wouldn't give me a syntax error. It says to put in an = sign after the .registerWorldGeneration but then it says to add a comma, and then it doesn't work again. So I'm not quite sure what it's doing atm.

 

I hope I made sense lol..

 

- Fayne37

Link to comment
Share on other sites

syntax error mean you are making mistake while TYPING not code wise

 

i wanna see the class that the image represent

 

the one with an obvious method called getVersion and where you call GameRegistry.registerWorldGenerator

 

the WHOLE class, not only the part you think is interresting

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

neither of your links have what i asked for

 

it has nothing to do with the class.

well then if you know whats the problem why are you asking for help ?

 

 

 

im willing to bet 20 bucks it HAS something to do with the class because its a "syntax error"

not a filenotfound error, not a null pointer, not a illegal argument exception, cannot cast X to Y

syntax

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

I'm asking for help to fix it.. is that such a problem? I'm not asking what is my problem,  I asked for help to fix it.

yes because you cannot provide the problem which is obviously is the class with getVersion and the call to GameRegistry.registerWorldGenerator(IWorldGenerator)

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

For one, I've linked the code twice, and you're failing to realize that that's the class that it compliments, and you keep asking for it over and over, and yes I'm asking about a Syntax Error, due to the fact there's no other reason than it not being the expected code for 1.5.2 Forge. I'm asking for other variations of the code, for a fix -- as I've said in recent posts. Now "please" gtfo my post or help me.

Link to comment
Share on other sites

ok i click on the link and search for "getVersion" and/or "GameRegistry"

its nowhere to be found ...

 

so now can you please link us to the class that makes the call to GameRegistry.registerWorldGenerator(IWorldGenerator);

its also a class that has a getVersion() method, which both of those link DONT have

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

Link to comment
Share on other sites

it might be the main mod but it might be another one, what we need is the file with "GameRegistry.registerWorldGenerator()" its probably the main mod file but maybe not

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

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.

Announcements



×
×
  • Create New...

Important Information

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