Hello! I just started out trying Java, but have a question. How do I deny the enderpearl throw event when somebody interacts with a woodendoor? I appreciate all help, thanks!
PlayerInteractEvent. Check the java docs: http://jd.bukkit.org/rb/apidocs/org/bukkit/event/player/PlayerInteractEvent.html
use event.setCancelled(true); on top of learning the PlayerInteractEvent first, which chasechocolate has posted for you