Sign in to follow this
Followers
0
[1.16.3] Crafting Recipe Returns Multiple Items and Custom Crafting Station
By
ehbean, in Modder Support
-
Recently Browsing
No registered users viewing this page.
-
Posts
-
So i was checking if my modpack works and was deleting the error mods and then it doesnt say what mod caused it pls tell me what to do latest.log
-
By diesieben07 · Posted
The only true way to know is to call BlockState#canHarvestBlock, which requires a player and will check the item the player is currently holding or other arbitrary things about the player (mods may have all kinds of arbitrary requirements for harvesting). -
By diesieben07 · Posted
Best way is probably just to delete it and let it regenerate -
What would be the ideal way to check if I can break a a block by a pickaxe or a shovel? I rewrote the whole logic and now I use the Item.canHarvestBlock, but it doesn't work reliable neither. For dirt the shovel returns false. 😔 Here is my logic: Github code Do you have any suggestion? Thank you in advance and I will let you know when the PR is ready.
-
-
Topics
-
Who's Online (See full list)