help with variables/devil fruit

Started by Caiopaco11 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined May 2023
Points:
229

User statistics:

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

Active 2 years ago
Joined Nov 2022
Points:
323

User statistics:

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

ask chatGPT it knows lots

 

Active 3 months ago
Joined Jun 2018
Points:
819

User statistics:

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

Active 1 year ago
Joined Jul 2022
Points:
391

User statistics:

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

how do i check if it is 2