promotional bannermobile promotional banner
premium banner
Totems of undying gain a configurable cooldown before they can be used again

Description

Adds the same cooldown that shields have to totems, preventing them being used for a configurable amount of time after one has popped. By default this cooldown is set to 30 seconds.

 

You only need this information if you are using any version 1.x.x :

 

If you are configuring the mod it has 2 modes which are set in the config file, config mode or command mode. 

In config mode the coolodwn is a static number defined in the file.

In command mode, the commands listed below allow you to control the cooldown dynamically with a datapack and on a per-player basis.

 

(vers 1.0 to 1.2 only have command mode and no config file) 

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Please note that in vers 1.3+ the below commands do not work by default unless you change the config to command mode.

 

Version 1.0+:

/totemcooldown set [time in ticks] - Sets the cooldown to the provided whole number

/totemcooldown [add | subtract]  [time in ticks] - Adds/subtracts the provided number to/from the current cooldown

/totemcooldown get - Puts the cooldown in chat 

 

Version 1.1+:

 

/totemcooldown if [currentCooldownLessThan | currentCooldownMoreThan]  [Time in Ticks to compare against] [set | add | subtract] [Time in Ticks to operate with]

 

Version 1.2+:

 

Cooldown value is now player based instead of global, I had previously only considered singleplayer application


All commands now require a name at the end.

The "set" command can be used with @a but all other commands require a single player input