Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

issues get datagenerater to work

Recommended Posts

  • Do not put DeferredRegister instances and their elements in separate classes. You are making it work by calling the empty ModItems.register / ModBlocks.register methods, but that is a terrible way to do it.
  • This does precisely nothing.
  • This event handler method will never receive any events because you did not annotate it with @SubscribeEvent.
Link to post
Share on other sites

The log tells you exactly what is wrong:


[18:44:30] [Worker-Main-10/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: testmod:blockstates/test_block.json: java.io.FileNotFoundException: testmod:blockstates/test_block.json
[18:44:30] [Worker-Main-10/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'testmod:blockstates/test_block.json' missing model for variant: 'testmod:test_block#'
[18:44:30] [Worker-Main-10/WARN] [minecraft/ModelBakery]: Unable to load model: 'testmod:test_item#inventory' referenced from: testmod:test_item#inventory: java.io.FileNotFoundException: testmod:models/item/test_item.json
[18:44:30] [Worker-Main-10/WARN] [minecraft/ModelBakery]: Unable to load model: 'testmod:test_block#inventory' referenced from: testmod:test_block#inventory: java.io.FileNotFoundException: testmod:models/item/test_block.json


  • Thanks 1
Link to post
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.

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.

  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.