Potion Trouble

Started by TerraformKing on

Topic category: Advanced modding

Last seen on 22:43, 6. Jul 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Potion Trouble

I am trying to get a procedure that detects if the item in the main hand of the player is a lingering potion of poison,

 how can i do this.

Last seen on 04:06, 7. Jul 2024
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
something with checking nbt…
Thu, 07/04/2024 - 16:54

something with checking nbt tags. try using the /data command in game on your inventory to see which nbt tags store which potion effect it is and whether it's lingering splash or drinkable. or look on the minecraft wiki. keep doing testing. idk.

Last seen on 22:43, 6. Jul 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh ok i'll try that
Thu, 07/04/2024 - 18:14

oh ok i'll try that