Get block stepped on

Discussion in 'Plugin Development' started by TheAJ471, Mar 25, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    TheAJ471

    So I am working on a Zombie Swarm plugin for my server. So basically how do I get when a mob such as a zombie steps on a pressure plate
     
  2. TheAJ471
    Use EntityInteractEvent and this:
    Code:java
    1. if(event.getBlock().getType() == Material.STONE_PLATE)
     
Thread Status:
Not open for further replies.

Share This Page