How to remove one item each x seconds

Started by Chiwi on

Topic category: Help with Minecraft modding (Java Edition)

Active 7 months ago
Joined Jun 2015
Points:
809

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 17
How to remove one item each x seconds

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!

Active 4 years ago
Joined Feb 2019
Points:
699

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
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.

Active 4 years ago
Joined Feb 2019
Points:
699

User statistics:

  • Modifications: 1
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 30
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

Active 7 months ago
Joined Jun 2015
Points:
809

User statistics:

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

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