Fandom

Minecraft Mod Custom Stuff Wiki

ToolClass

175pages on
this wiki
Add New Page
Comments0 Share

The toolClass parameter for "normal" items refers to the type of vanilla tool it will act like. When applied to a custom block, it sets the type of tool that can break it (easily), as well as what tool type will have an added bonus with Efficiency, assuming it does not have 0 for its hardness.

The tool classes available are the same as the vanilla tools. These are: -Pickaxe -Axe -Shovel -Hoe -Sword

To use this parameter, simply add this to your item or block's javascript file, for whichever tool you wish, and whichever metadata it should apply to:

toolClass[0] = "pickaxe";

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.