Better in my opinion: don't use an enum at all. Make your enum class a normal class, and make static references to the different materials. Then in the constructor, add the materials to a List, and iterate over that instead.
First of all, have you updated your mappings to the latest? That field may already be called something else.
In which class/method is that field? That would make it much easier for us to help you out.
You never use that class outside of it. Therefore it never gets loaded, and never instantiate the INSTANCE field, and never registers your BucketHandler as an event handler. Easiest solution in my opinion: move the registration outside of the class, e.g. in init in your main mod file.
If you can't take a little criticism, you can go away. We are just trying to help you. If Draco18s says centering your post is annoying, you don't have to listen to that. It is just a recommendation so we can understand you better and help you better.
Almost every mod has been updated to 1.7.10 or 1.8. And if they are not, there may be a replacement for it. So I suggest updating to 1.7.10+, so you won't have to worry about Block and Item IDs anymore.
We need more contect. What doesn't work? How do you want it to work? Have you tried debugging it yourself?
Always post updated code and more context if you want us to help.
We need more code:
- IGuiHandler
- The method in which you open your gui
- Your gui code
Preferably on gist.github.com, pastebin.com or a GitHub account.
Some people just export it from Eclipse and expect it to work.
I don't know what could cause the issue. We (I) need to have more info:
1. The Forge version you are using
Caused by: java.lang.NoSuchFieldError: rock
at two.graves.blocks.BlockGrave.<init>(BlockGrave.java:40)
2. Show us line 40 from BlockGrave. Or do you have a GitHub workspace we can use?
"Write my code for me! I can't code!"
Nobody's gonna write code for you for free.
There's a tutorial on the SimpleNetworkWrapper by diesieben07 in the Tutorials section of Modder Support.