Jump to content

Can anyone pls explain me this error? :D


eriknoe

Recommended Posts

1 hour ago, Major Tuvok said:

You register the Wrong Element...

Currentl you are Creating a new Instance of your AmethystOre when you register your Blocks. But when you then register your Items you access your static reference.

Just Change your Block registration, so that you store your Instance in  your static final variable and then register that.

 

(I hope you know, that your Java Code is a Mess, so I won't point all your mistakes out to you (that would take too much time))

(Pls learn too Code...) 

sry for my dumbness, but i dont understand what ur mean with that (the thing with learn to code i understand xD)

Link to comment
Share on other sites

1 hour ago, Major Tuvok said:

I am referring to my own Code. Because Minecraft Mods aren't marked, I don't program with that much care like I normally do, so that when I'm looking at my Minecraft code I always spot such small things which could be made better

I did iiiiiiiiiit :DDDD

im poud of myself :D

 

Thanks to all for the help :D

 

Edited by eriknoe
spelling
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.