Started by
PacificCyan CH…
on
Topic category: Advanced modding
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.
Topic category: Advanced modding
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.
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.
oh ok i'll try that
I think if you lock the code and go into it you can change the item it detects to the potion if you type it right. Not sure though.