Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by DavidML, Apr 1, 2020.
There is a way to cancel event of an item or mob push a pressure plate?
Maybe look into EntityInteractEvent? Not entirely sure.
You can look into the BlockRedstoneEvent, that should get fired when a player walks over a pressure plate.
Also, how do you format those links so they don't look like this https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/EntityInteractEvent.html?
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/BlockRedstoneEvent.html or https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/entity/EntityInteractEvent.html (not sure about the last one though)
Thanks to all, EntityInteractEvent works well.