CraftTweaker

CraftTweaker

151M Downloads

[Request] Tool class level from IItemStack

Charnuz opened this issue ยท 0 comments

commented

Feature request description
A way to get what level of tool an item has.

Feature request reason
IItemStack.toolClasses gives you the names of the tool classes an item has, but not the level. This will give more flexibility for block events than IItemStack.canHarvestBlock gives.

Feature request dependencies
Does the feature request require anything to be implemented? / Will this feature request only be useful when combined with another mod?
Not really.