Class CustomToolComponent

Registry a lazuli:custom_tool component in game.

You can use CustomToolComponent.registry method to registry it.

The following code can be used to registry this component:

CustomToolComponent.registry();

After registied it, add following code your item JSON file:

"minecraft:custom_components": ["lazuli:custom_tool"]

Registry a lazuli:custom_tool component in game.

Methods

Methods

  • Returns void