Class MobListener

java.lang.Object
dev.plex.listener.PlexListener
dev.plex.listener.impl.MobListener
All Implemented Interfaces:
PlexBase, org.bukkit.event.Listener

public class MobListener extends PlexListener
  • Field Details

    • SPAWN_EGGS

      private static final List<org.bukkit.Material> SPAWN_EGGS
  • Constructor Details

    • MobListener

      public MobListener()
  • Method Details

    • spawnEggToEntityType

      private static org.bukkit.entity.EntityType spawnEggToEntityType (org.bukkit.Material mat)
    • onEntitySpawn

      public void onEntitySpawn (org.bukkit.event.entity.EntitySpawnEvent event)
    • onDispense

      public void onDispense (org.bukkit.event.block.BlockDispenseEvent event)
    • onEntityClick

      public void onEntityClick (org.bukkit.event.player.PlayerInteractEntityEvent event)
    • onPlayerInteract

      public void onPlayerInteract (org.bukkit.event.player.PlayerInteractEvent event)
    • isEntityLimitReached

      public static boolean isEntityLimitReached (org.bukkit.Chunk chunk, int limit)