get Max Use Time
Called on both the client and the server my Minecraft to get the number of ticks the staff can be used for using the current item.
Parameters
staff Stack
The item stack used to perform the action
world
The world the user is in
user
The player, which uses the staff