How can i make an upgrading effect

Started by xiomin on

Topic category: Help with MCreator software

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can i make an upgrading effect

Hi, i want to know how to make an item that when you eat it 1 time you get like jumpboost 1 and when you eat another the effect becomes jumpboost 2

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure in event …
Wed, 09/11/2019 - 00:24

Create a procedure in event « When food is eaten. ». After, do this :

If Get NBT Tag (Number + Entity) NAME OF YOUR NBT TAG < 1

Do Set YourNBTTag to Get NBT Tag + 1 AND Give your effect

Else if Get NBT Tag Name Of Your NBT Tag > 0

Do Set NBT tag to Get NBT Tag + 1 AND Give your effect.