Class PreventMobSpawn

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable, org.bukkit.event.Listener

    public class PreventMobSpawn
    extends java.lang.Object
    implements org.bukkit.event.Listener, org.bukkit.event.Cancellable
    • Constructor Summary

      Constructors 
      Constructor Description
      PreventMobSpawn()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isCancelled()  
      void preventSpawn​(org.bukkit.event.entity.CreatureSpawnEvent e)  
      void setCancelled​(boolean arg0)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PreventMobSpawn

        public PreventMobSpawn()
    • Method Detail

      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean arg0)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable
      • preventSpawn

        public void preventSpawn​(org.bukkit.event.entity.CreatureSpawnEvent e)