Fandom

Minecraft Mod Custom Stuff Wiki

MaxUsingDuration

175pages on
this wiki
Add New Page
Comments0 Share

The maxUsingDuration parameter is used to set, in ms, how long the usingAction effect will last for when holding down the right mouse button. This is required whenever using the usingAction attribute. If it is not at least 1, usingAction will not have any effect.

ex.

maxUsingDuration[0] = "5000";

Adding this line will allow you to hold down the right mouse button for 5 seconds before the usingAction needs to be retriggered.

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.