Started by
Loqman520
on
Topic category: Help with Minecraft modding (Java Edition)
Hello
I want to make something, if your close to a certain block it give you a potion effect, how I make that ?
Topic category: Help with Minecraft modding (Java Edition)
Hello
I want to make something, if your close to a certain block it give you a potion effect, how I make that ?
on block tick update
if entity is in range = (your range)
add potion effect (your effect) to event/target entity with duration (duration)
This code is just speculation and it is possible that this wont work but i would give it a try