Started by
xiomin
on
Topic category: Help with MCreator software
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
Topic category: Help with MCreator software
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
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.