Method for getting the mining level of a block
Juuxel opened this issue ยท 4 comments
Edit: current status as of tool attributes 1.1
tool attribute 1.1 added a method to get it, however it is still in impl classes
ToolManagerImpl.entryNullable(block).getMiningLevel()
Old description
Currently you have to do some mixin/reflection hacks on `ToolManager.EntryImpl` if you want to get the mining level of a block that uses `FabricBlockSettings.breakByTool(Tag, int)`, so a public method for doing that would be nice.Resolved by #1629