Started by
Bre3ezyy
on
Topic category: Help with Minecraft modding (Java Edition)
So, I'm creating a mod for my friend's server, and he wants me to add "purification potions" that can turn mycelium into grass
I was wondering if it is possible to detect when a splash potion hits a specific block? The only thing I can think of is maybe finding where the potion entity was just before dying/despawning and then detecting the blocks around it, but even then I'm not 100% sure how to go about it
Any help would be greatly appreciated!
Things Needed: Tooltips Plug-in
i got it wrong, i meant if get nbt text tag "Potion" = "[potion id]"