Open blood789 opened 2 years ago
In 1.18 Mojang changed the tool tier and type system to use block tags instead. I updated the custom blocks page to reflect that, but forgot to do block mod too.
For more info which tags are what see the custom blocks page, or I'm sure the vanilla wiki has a page on it. You can also look at existing blocks with F3 open to see the tags they use.
Not being able to change if a tool is required may still be a bug, or it could be failing due to what I described above.
Minecraft Version
1.19
KubeJS Version
kubejs-fabric-1900.5.5-build.27
Rhino Version
rhino-fabric-1802.1.14-build.190
Architectury Version
architectury-5.9.31-fabric
Forge/Fabric Version
fabric-api-0.57.0+1.19/1.19-Fabric 0.14.8
Describe your issue
I making a modpack, and want to change the harvest level of the tool and Modify the tools needed to mine the block.
Here is an example.
wooden ----0 -----------------------------0 stone--------1----------------------------1 copper------2------------------------------- iron---------3-----------------------------2 diamond----4-----------------------------3 Mithril-------5 Netherite----6 ...
onEvent('block.modification', event => { event.modify('minecraft:birch_log', block => { block.requiredTool = true // Make chop down the tree need an axe. }) })
Crash report/logs
No response