Class EventAbstractionListener

java.lang.Object
com.sk89q.worldguard.bukkit.listener.EventAbstractionListener
All Implemented Interfaces:
org.bukkit.event.Listener

public class EventAbstractionListener extends Object
  • Constructor Details

    • EventAbstractionListener

      public EventAbstractionListener(WorldGuardPlugin plugin)
      Construct the listener.
      Parameters:
      plugin - an instance of WorldGuardPlugin
  • Method Details

    • registerEvents

      public void registerEvents()
      Register events.
    • onBlockBreak

      public void onBlockBreak(org.bukkit.event.block.BlockBreakEvent event)
    • onBlockMultiPlace

      public void onBlockMultiPlace(org.bukkit.event.block.BlockMultiPlaceEvent event)
    • onBlockPlace

      public void onBlockPlace(org.bukkit.event.block.BlockPlaceEvent event)
    • onBlockBurn

      public void onBlockBurn(org.bukkit.event.block.BlockBurnEvent event)
    • onStructureGrowEvent

      public void onStructureGrowEvent(org.bukkit.event.world.StructureGrowEvent event)
    • onEntityChangeBlock

      public void onEntityChangeBlock(org.bukkit.event.entity.EntityChangeBlockEvent event)
    • onEntityExplode

      public void onEntityExplode(org.bukkit.event.entity.EntityExplodeEvent event)
    • onBlockPistonRetract

      public void onBlockPistonRetract(org.bukkit.event.block.BlockPistonRetractEvent event)
    • onBlockPistonExtend

      public void onBlockPistonExtend(org.bukkit.event.block.BlockPistonExtendEvent event)
    • onBlockDamage

      public void onBlockDamage(org.bukkit.event.block.BlockDamageEvent event)
    • onPlayerInteract

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

      public void onEntityBlockForm(org.bukkit.event.block.EntityBlockFormEvent event)
    • onEntityInteract

      public void onEntityInteract(org.bukkit.event.entity.EntityInteractEvent event)
    • onBlockFertilize

      public void onBlockFertilize(org.bukkit.event.block.BlockFertilizeEvent event)
    • onBlockIgnite

      public void onBlockIgnite(org.bukkit.event.block.BlockIgniteEvent event)
    • onSignChange

      public void onSignChange(org.bukkit.event.block.SignChangeEvent event)
    • onBedEnter

      public void onBedEnter(org.bukkit.event.player.PlayerBedEnterEvent event)
    • onPlayerBucketEmpty

      public void onPlayerBucketEmpty(org.bukkit.event.player.PlayerBucketEmptyEvent event)
    • onPlayerBucketFill

      public void onPlayerBucketFill(org.bukkit.event.player.PlayerBucketFillEvent event)
    • onBlockFromTo

      public void onBlockFromTo(org.bukkit.event.block.BlockFromToEvent event)
    • onCreatureSpawn

      public void onCreatureSpawn(org.bukkit.event.entity.CreatureSpawnEvent event)
    • onHangingPlace

      public void onHangingPlace(org.bukkit.event.hanging.HangingPlaceEvent event)
    • onHangingBreak

      public void onHangingBreak(org.bukkit.event.hanging.HangingBreakEvent event)
    • onVehicleDestroy

      public void onVehicleDestroy(org.bukkit.event.vehicle.VehicleDestroyEvent event)
    • onBlockExp

      public void onBlockExp(org.bukkit.event.block.BlockExpEvent event)
    • onPlayerFish

      public void onPlayerFish(org.bukkit.event.player.PlayerFishEvent event)
    • onExpBottle

      public void onExpBottle(org.bukkit.event.entity.ExpBottleEvent event)
    • onEntityDeath

      public void onEntityDeath(org.bukkit.event.entity.EntityDeathEvent event)
    • onPlayerInteractEntity

      public void onPlayerInteractEntity(org.bukkit.event.player.PlayerInteractEntityEvent event)
    • onEntityDamage

      public void onEntityDamage(org.bukkit.event.entity.EntityDamageEvent event)
    • onEntityCombust

      public void onEntityCombust(org.bukkit.event.entity.EntityCombustEvent event)
    • onEntityUnleash

      public void onEntityUnleash(org.bukkit.event.entity.EntityUnleashEvent event)
    • onEntityTame

      public void onEntityTame(org.bukkit.event.entity.EntityTameEvent event)
    • onPlayerShearEntity

      public void onPlayerShearEntity(org.bukkit.event.player.PlayerShearEntityEvent event)
    • onPlayerPickupItem

      public void onPlayerPickupItem(org.bukkit.event.player.PlayerPickupItemEvent event)
    • onEntityPickupItem

      public void onEntityPickupItem(org.bukkit.event.entity.EntityPickupItemEvent event)
    • onPlayerDropItem

      public void onPlayerDropItem(org.bukkit.event.player.PlayerDropItemEvent event)
    • onVehicleDamage

      public void onVehicleDamage(org.bukkit.event.vehicle.VehicleDamageEvent event)
    • onPlayerItemConsume

      public void onPlayerItemConsume(org.bukkit.event.player.PlayerItemConsumeEvent event)
    • onInventoryOpen

      public void onInventoryOpen(org.bukkit.event.inventory.InventoryOpenEvent event)
    • onInventoryMoveItem

      public void onInventoryMoveItem(org.bukkit.event.inventory.InventoryMoveItemEvent event)
    • onPotionSplash

      public void onPotionSplash(org.bukkit.event.entity.PotionSplashEvent event)
    • onBlockDispense

      public void onBlockDispense(org.bukkit.event.block.BlockDispenseEvent event)
    • onLingeringSplash

      public void onLingeringSplash(org.bukkit.event.entity.LingeringPotionSplashEvent event)
    • onLingeringApply

      public void onLingeringApply(org.bukkit.event.entity.AreaEffectCloudApplyEvent event)
    • onPlayerInteractAtEntity

      public void onPlayerInteractAtEntity(org.bukkit.event.player.PlayerInteractAtEntityEvent event)
    • onBlockExplode

      public void onBlockExplode(org.bukkit.event.block.BlockExplodeEvent event)
    • onTakeLecternBook

      public void onTakeLecternBook(org.bukkit.event.player.PlayerTakeLecternBookEvent event)
    • onCauldronLevelChange

      public void onCauldronLevelChange(org.bukkit.event.block.CauldronLevelChangeEvent event)
    • getPlugin

      protected static WorldGuardPlugin getPlugin()
      Get the plugin.
      Returns:
      the plugin
    • getConfig

      protected static BukkitConfigurationManager getConfig()
      Get the global configuration.
      Returns:
      the configuration
    • getWorldConfig

      protected static BukkitWorldConfiguration getWorldConfig(String world)
      Get the world configuration given a world.
      Parameters:
      world - The world to get the configuration for.
      Returns:
      The configuration for world
    • getWorldConfig

      protected static BukkitWorldConfiguration getWorldConfig(org.bukkit.World world)
    • getWorldConfig

      protected static BukkitWorldConfiguration getWorldConfig(com.sk89q.worldguard.LocalPlayer player)
      Get the world configuration given a player.
      Parameters:
      player - The player to get the wold from
      Returns:
      The WorldConfiguration for the player's world
    • isRegionSupportEnabled

      protected static boolean isRegionSupportEnabled(org.bukkit.World world)
      Return whether region support is enabled.
      Parameters:
      world - the world
      Returns:
      true if region support is enabled
    • createRegionAssociable

      protected com.sk89q.worldguard.protection.association.RegionAssociable createRegionAssociable(Cause cause)