Item.tool

Indicates whether the item is a tool. A tool can be used on blocks and entities and its meta will vary.

class Item
pure nothrow @property @safe @nogc
bool
tool
()

Examples

assert(new Items.Beetroot().tool == false);
assert(new Items.DiamondSword().tool == true);

Meta