Item every minute

Started by Demon_Cry on

Topic category: Help with MCreator software

Last seen on 14:03, 4. Dec 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Item every minute

how to make sure that the subject was given every minute.

Last seen on 20:25, 8. May 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You want to give a player an…
Tue, 09/24/2019 - 10:15

You want to give a player an item every minute?

Procedure:

On Player tick:

if Nbt number tag "counter" > 1200 (This is time in Ticks, not seconds. Make sure that whether its 20 ticks per second.)

do set nbt number tag "counter" = 0

do add [item] to players inventory

else

     set nbt number tag "counter" = get nbt number tag "counter" + 1

Last seen on 14:03, 4. Dec 2020
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
More info please
Thu, 09/26/2019 - 04:27

More info please

Last seen on 03:52, 28. Jul 2023
Joined Feb 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That doesn't work -_-
Sun, 03/07/2021 - 02:56

That doesn't work -_-