help with variables/devil fruit

Started by Caiopaco11 on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help with variables/devil fruit


hello, I'm trying to make a devil's fruit, basically when I eat the fruit a lifetime variable will become 1, and if the player try to eat another fruit he dies, but i dont know how to do that, if the player dies the variable turn to 0 again, any help would be gorgeous. :)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ask chatGPT it knows lots  
Sun, 05/21/2023 - 16:07

ask chatGPT it knows lots

 

Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
make a procedure with a…
Fri, 06/23/2023 - 15:46

make a procedure with a global trigger that checks when player is finished using an item or has finished eating food to check what the lifetime variable is whenever it is called. if 2 then kill player

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i check if it is 2  
Wed, 11/29/2023 - 17:53

how do i check if it is 2