Jump to content

Unable to mine blocks in custom 1.19.2 mod


Christopher Condon

Recommended Posts

When you are in the game, look at the block and press F3.

On the right hand side you can see what tags it has.

 

You should also look at run/logs/debug.log because you have lots of errors in your datapack.

 

The one stopping your blocks being mined is because this deepslate ore block does not exist. So it fails to load that file.

https://github.com/Nexeran/Mundane_Chronicles_Mod/blob/505bfda1db4d6d761309dad63b787ea3d1731d68/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json#L6

  • Thanks 1

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

6 hours ago, warjort said:

When you are in the game, look at the block and press F3.

On the right hand side you can see what tags it has.

 

You should also look at run/logs/debug.log because you have lots of errors in your datapack.

 

The one stopping your blocks being mined is because this deepslate ore block does not exist. So it fails to load that file.

https://github.com/Nexeran/Mundane_Chronicles_Mod/blob/505bfda1db4d6d761309dad63b787ea3d1731d68/src/main/resources/data/minecraft/tags/blocks/mineable/pickaxe.json#L6

Thank you so much! I added that block back in and it all works now.

 

Yeah I just started learning how to make a mod and code like 3 days ago so ive got a long ways to go so ill for sure look at the debug. that deepslate ore was in there form the tutorial video i was following to make their mod but when i moved it to a new mod project so i could add what i wanted i cut out some of the blocks/items to only keep as ref for when i added new blocks but i guess i missed that. I just added the deepslate ore back into blocklist and problem resolved.

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.