Started by
RoboMan
on
Topic category: Help with Minecraft modding (Java Edition)
I have a custom block, and I do not want players to be able to sneak while on the block. How would I make it so that they cannot sneak while on this block?
Wow, this was harder than expected
Trigger on walk, set sneak to false. Didn't work. (had to start with the basics lol)
Reduce bounding box y->15 (ala soul sand). Trigger on collide: set sneak to false. Didn't work
On Player Update: If block at x y-0.5 z = NoSneakBlock: set sneak to false. Still Didn't work
Apologies, but I have found a different way entirely to solve this issue. I was able to use the radius function and it worked perfectly. Thanks you for trying to help, though!