How to remove one item each x seconds

Started by Chiwi on Mon, 03/23/2020 - 14:48

Topic category: Help with modding (Java Edition)

Last seen on 18:17, 25. Nov 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to remove one item each x seconds
Mon, 03/23/2020 - 14:48

Hi, im making a jet pack and I want that each 15 seconds flying, one firework is removed, but i dont know how add that procedure. I only reached that every tick remove one firework, but this would break the mod obviously. Someone know what procedures I should add to adjust that?? Thanks!

Last seen on 09:35, 21. May 2020
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Here's a solution https:/…
Mon, 03/23/2020 - 15:44

Here's a solution https://yadi.sk/d/bW8RZ7jjFj7s4w

Every 300 ticks (Or just 15 seconds) From inventory deletes a 1 firework. But it don't check is player flying, but you can do this with AND.

Last seen on 09:35, 21. May 2020
Joined Feb 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I forgot to say that this is…
Mon, 03/23/2020 - 15:53

I forgot to say that this is a file that needs to be imported into the procedures

Last seen on 18:17, 25. Nov 2020
Joined Jun 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Wowwwww, thanks A LOT!!!!…
Mon, 03/23/2020 - 18:10

Wowwwww, thanks A LOT!!!! very very grateful!