Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by DomiHrajePL, Mar 10, 2019.
Hello, how can I forbid the field when I jump on it?
(Sorry for my english!)
what do you exactly mean with "when i jump on it" ?
You can make fields accessible or what do you wanna do?
I think he wants to stop crop destruction when jumping on a farmland. You can do that by cancelling the PlayerInteractEvent, after checking that the event action is PHYSICAL and that the block involved is a farmland.