Skip to main content
deleted 45 characters in body
Source Link
rustphoenix
  • 428
  • 2
  • 11

You can use scoreboard values and dummy variables.

Example

Setup:

/scoreboard objectives add Timer dummy

Run every tick for each individual command:

General command, only need one
/scoreboard players remove *cmd1 Timer 1

For each individual command
/scoreboard players test cmd1 Timer 0 0
v comparator(before 1.9) or conditional (after 1.9) v
/your_command_here

Run to start delay:

/scoreboard players set cmd1 delay_in_20ths_of_a_second

As you can see, this is scalable for as many commands as you need.

You can use scoreboard values and dummy variables.

Example

Setup:

/scoreboard objectives add Timer dummy

Run every tick:

General command, only need one
/scoreboard players remove * Timer 1

For each individual command
/scoreboard players test cmd1 Timer 0 0
v comparator(before 1.9) or conditional (after 1.9) v
/your_command_here

Run to start delay:

/scoreboard players set cmd1 delay_in_20ths_of_a_second

As you can see, this is scalable for as many commands as you need.

You can use scoreboard values and dummy variables.

Example

Setup:

/scoreboard objectives add Timer dummy

Run every tick for each individual command:

/scoreboard players remove cmd1 Timer 1
/scoreboard players test cmd1 Timer 0 0
v comparator(before 1.9) or conditional (after 1.9) v
/your_command_here

Run to start delay:

/scoreboard players set cmd1 delay_in_20ths_of_a_second

As you can see, this is scalable for as many commands as you need.

added 18 characters in body
Source Link
rustphoenix
  • 428
  • 2
  • 11

You can use scoreboard values and dummy variables.

Example

Setup:

/scoreboard objectives add Timer dummy

Run every tick:

General command, only need one
/scoreboard players remove * Timer 1

For each individual command
/scoreboard players test cmd1 Timer 0 0
v comparator(before 1.9) or conditional (after 1.9) v
/your_command_here

Run to start delay:

/scoreboard players set cmd1 delay_in_20ths_of_a_second

As you can see, this is scalable for as many commands as you need.

You can use scoreboard values and dummy variables.

Example

Setup:

/scoreboard objectives add Timer dummy

Run every tick:

General command, only need one
/scoreboard players remove * Timer 1

For each individual command
/scoreboard players test cmd1 Timer 0 0
v comparator or conditional (1.9) v
/your_command_here

Run to start delay:

/scoreboard players set cmd1 delay_in_20ths_of_a_second

As you can see, this is scalable for as many commands as you need.

You can use scoreboard values and dummy variables.

Example

Setup:

/scoreboard objectives add Timer dummy

Run every tick:

General command, only need one
/scoreboard players remove * Timer 1

For each individual command
/scoreboard players test cmd1 Timer 0 0
v comparator(before 1.9) or conditional (after 1.9) v
/your_command_here

Run to start delay:

/scoreboard players set cmd1 delay_in_20ths_of_a_second

As you can see, this is scalable for as many commands as you need.

Source Link
rustphoenix
  • 428
  • 2
  • 11

You can use scoreboard values and dummy variables.

Example

Setup:

/scoreboard objectives add Timer dummy

Run every tick:

General command, only need one
/scoreboard players remove * Timer 1

For each individual command
/scoreboard players test cmd1 Timer 0 0
v comparator or conditional (1.9) v
/your_command_here

Run to start delay:

/scoreboard players set cmd1 delay_in_20ths_of_a_second

As you can see, this is scalable for as many commands as you need.