Started by
uhmshadow
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying make a fan block that gets rid of a potion effect in a 4(x) by 12(y) by 4(z) square radius when underneath of it like a fan does. (the potion effect deals fire damage like heat and the fan i supposed to "cool" you off. Really just taking off that potion effect.) My issue is to figure out how to detect the player when in that radius, how to make that radius, and then get rid of the potion effect. Any thoughts, suggestions, or work arounds?
I don't think you would be able to make a non square are of effect, but you could make an entity iterator block, with a radius of 12 which means 6x6x6 6 blocks under the fan (or you could replace the 12 with another even number like 10 for 5x5x5) and use the remove certain potion effect block