Jump to content

Animefan8888

Forge Modder
  • Posts

    6157
  • Joined

  • Last visited

  • Days Won

    59

Everything posted by Animefan8888

  1. Do you not have a model for your ItemBlock?
  2. Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before.
  3. I don't see a texture for them in your first post, that is why it is purple and black. Edit: Never mind your package explorer is different from mine I see it.
  4. If you made the variable in there then yes.
  5. Where is your blockclear_glass? Is it in the same class? Or in a different one, if so you need to reference the class that it is in. And did you import ModelResourceLocation?
  6. Never mind you changed it already. The only thing you need to change is importing all of the required classes and changing 'block' to an actual Block.
  7. Look back at what you had and then look at what you have now.
  8. It is used basically the same way that the model mesher is.
  9. Draco said use ModelLoader.setCustomModelResourceLocation(), Which takes in an Item, int, and a ModelResourceLocation as parameters. Which are the Item you want the ModelResourceLocation bound to the metadata of the Item and the ModelResourceLocation to be bound.
  10. Call ModBloks.registerRenders in your preInit at least. You could also use the ModelRegistryEvent and RegistryEvent.
  11. Your ClientProxy. And where do you register your block.
  12. Did you register the Handler twice, are you checking the Side and the Phase? Post your code.
×
×
  • Create New...

Important Information

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