Every. Event. Ever.

Discussion in 'Plugin Development' started by Tecno_Wizard, Aug 28, 2014.

?

Useful?

  1. Extremely

    15.2%
  2. Very

    9.1%
  3. Somewhat

    3.0%
  4. Not really

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

    Tecno_Wizard

    Can I say more? There you go!
    Block Events
    BlockBreakEvent
    Called when a block is broken by a player.
    BlockBurnEvent
    Called when a block is destroyed as a result of being burnt by fire.
    BlockCanBuildEvent
    Called when we try to place a block, to see if we can build it here or not.
    BlockDamageEvent
    Called when a block is damaged by a player.
    BlockDispenseEvent
    Called when an item is dispensed from a block.
    BlockEvent
    Represents a block related event.
    BlockExpEvent
    An event that's called when a block yields experience.
    BlockFadeEvent
    Called when a block fades, melts or disappears based on world conditions
    BlockFormEvent
    Called when a block is formed or spreads based on world conditions.
    BlockFromToEvent
    Represents events with a source block and a destination block, currently only applies to liquid (lava and water) and teleporting dragon eggs.
    BlockGrowEvent
    Called when a block grows naturally in the world.
    BlockIgniteEvent
    Called when a block is ignited.
    BlockMultiPlaceEvent
    Fired when a single block placement action of a player triggers the creation of multiple blocks(e.g.
    BlockPhysicsEvent
    Thrown when a block physics check is called
    BlockPistonEvent
    Called when a piston block is triggered
    BlockPistonExtendEvent
    Called when a piston extends
    BlockPistonRetractEvent
    Called when a piston retracts
    BlockPlaceEvent
    Called when a block is placed by a player.
    BlockRedstoneEvent
    Called when a redstone current changes
    BlockSpreadEvent
    Called when a block spreads based on world conditions.
    EntityBlockFormEvent
    Called when a block is formed by entities.
    LeavesDecayEvent
    Called when leaves are decaying naturally.
    NotePlayEvent
    Called when a note block is being played through player interaction or a redstone current.
    SignChangeEvent
    Called when a sign is changed by a player.


    Enchantment Events
    EnchantItemEvent
    Called when an ItemStack is successfully enchanted (currently at enchantment table)
    PrepareItemEnchantEvent
    Called when an ItemStack is inserted in an enchantment table - can be called multiple times


    Entity Events
    CreatureSpawnEvent
    Called when a creature is spawned into a world.
    CreeperPowerEvent
    Called when a Creeper is struck by lightning.
    EntityBreakDoorEvent
    Called when an Entity breaks a door
    EntityChangeBlockEvent
    Called when any Entity, excluding players, changes a block.
    EntityCombustByBlockEvent
    Called when a block causes an entity to combust.
    EntityCombustByEntityEvent
    Called when an entity causes another entity to combust.
    EntityCombustEvent
    Called when an entity combusts.
    EntityCreatePortalEvent
    Thrown when a Living Entity creates a portal in a world.
    EntityDamageByBlockEvent
    Called when an entity is damaged by a block
    EntityDamageByEntityEvent
    Called when an entity is damaged by an entity
    EntityDamageEvent
    Stores data for damage events
    EntityDeathEvent
    Thrown whenever a LivingEntity dies
    EntityEvent
    Represents an Entity-related event
    EntityExplodeEvent
    Called when an entity explodes
    EntityInteractEvent
    Called when an entity interacts with an object
    EntityPortalEnterEvent
    Called when an entity comes into contact with a portal
    EntityPortalEvent
    Called when a non-player entity is about to teleport because it is in contact with a portal.
    EntityPortalExitEvent
    Stores data for health-regain events
    EntityRegainHealthEvent

    EntityShootBowEvent
    Called when a LivingEntity shoots a bow firing an arrow
    EntityTameEvent
    Thrown when a LivingEntity is tamed
    EntityTargetEvent
    Called when a creature targets or untargets another entity
    EntityTargetLivingEntityEvent
    Called when an Entity targets a LivingEntity and can only target LivingEntity's.
    EntityTeleportEvent
    Thrown when a non-player entity (such as an Enderman) tries to teleport from one location to another.
    EntityUnleashEvent
    Called immediately prior to an entity being unleashed.
    ExpBottleEvent
    Called when a ThrownExpBottle hits and releases experience.
    ExplosionPrimeEvent
    Called when an entity has made a decision to explode.
    FoodLevelChangeEvent
    Called when a human entity's food level changes
    HorseJumpEvent
    Called when a horse jumps.
    ItemDespawnEvent
    This event is called when a Item is removed from the world because it has existed for 5 minutes.
    ItemSpawnEvent
    Called when an item is spawned into a world
    PigZapEvent
    Stores data for pigs being zapped
    PlayerDeathEvent
    Thrown whenever a Player dies
    PlayerLeashEntityEvent
    Called immediately prior to a creature being leashed by a player.
    PotionSplashEvent
    Called when a splash potion hits an area
    ProjectileHitEvent
    Called when a projectile hits an object
    ProjectileLaunchEvent
    Called when a projectile is launched.
    SheepDyeWoolEvent
    Called when a sheep's wool is dyed
    SheepRegrowWoolEvent
    Called when a sheep regrows its wool
    SlimeSplitEvent
    Called when a Slime splits into smaller Slimes upon death


    Hanging Events
    HangingBreakByEntityEvent
    Triggered when a hanging entity is removed by an entity
    HangingBreakEvent
    Triggered when a hanging entity is removed
    HangingEvent
    Represents a hanging entity-related event.
    HangingPlaceEvent
    Triggered when a hanging entity is created in the world


    Inventory Events
    BrewEvent
    Called when the brewing of the contents inside the Brewing Stand is complete.
    CraftItemEvent
    Called when the recipe of an Item is completed inside a crafting matrix.
    FurnaceBurnEvent
    Called when an ItemStack is successfully burned as fuel in a furnace.
    FurnaceExtractEvent
    This event is called when a player takes items out of the furnace
    FurnaceSmeltEvent
    Called when an ItemStack is successfully smelted in a furnace.
    InventoryClickEvent
    This event is called when a player clicks a slot in an inventory.
    InventoryCloseEvent
    Represents a player related inventory event
    InventoryCreativeEvent
    This event is called when a player in creative mode puts down or picks up an item in their inventory / hotbar and when they drop items from their Inventory while in creative mode.
    InventoryDragEvent
    This event is called when the player drags an item in their cursor across the inventory.
    InventoryEvent
    Represents a player related inventory event
    InventoryInteractEvent
    An abstract base class for events that describe an interaction between a HumanEntity and the contents of an Inventory.
    InventoryMoveItemEvent
    Called when some entity or block (e.g.
    InventoryOpenEvent
    Represents a player related inventory event
    InventoryPickupItemEvent
    Called when a hopper or hopper minecart picks up a dropped item.
    PrepareItemCraftEvent

    Enum Summary
    ClickType
    What the client did to trigger this action (not the result).
    DragType
    Represents the effect of a drag that will be applied to an Inventory in an InventoryDragEvent.
    InventoryAction
    An estimation of what the result will be.
    InventoryType

    InventoryType.SlotType

    //Painting are all deprecated, left out
     
    Skyost and CraftBang like this.
  2. Offline

    Necrodoom

  3. Offline

    CraftBang

    Not really usefull for me, but for new people I think!
    But somethings are too obvious.
    WorldUnloadEvent
    Called when a world is unloaded.
    xD
     
  4. Offline

    Tecno_Wizard

    Necrodoom, I'm aware it's copy pasted, but it takes six or seven classes into one page.
    originally I kept the grid too, but the forum doesn't support it
     
  5. Offline

    Necrodoom

    Tecno_Wizard "six or seven classes" Its listed in a single page right there. All you did is strip out the tables.
     
  6. Offline

    Tecno_Wizard

    Necrodoom, See, that I was not aware of. This is still useful for lazy people.
    Also, it seems as if you criticize every little thing I post. We don't get paid here dude, let it go.
     
  7. Offline

    Necrodoom

    Tecno_Wizard I criticize bad and malicious advice.
    Trying to claim you made this is one of them.
     
    NathanG_ likes this.
  8. Offline

    Tecno_Wizard

    Necrodoom, Claim I made this? WHERE IN THIS POST DOES IT SAY I MADE THIS.
    You would have to be some kind of idiot to not know I got this off the javadocs.
    All of the hyperlinks go STRAIGHT TO THE JAVADOCS.
    I'm sorry if I made something more available. I will not be commenting on anything else you say in this thread.
     
  9. Offline

    Necrodoom

    NathanG_, Ivan, iarezach and 4 others like this.
  10. Offline

    ChipDev

    I know of two of the same subjects in less that one day of posting. Whats the deal?
     
  11. Offline

    PandazNWafflez

    Garris0n likes this.
  12. Offline

    Gamecube762

  13. Offline

    PandazNWafflez

    Gamecube762 that's what I just said to him, if you took the time to read. Garris0n's thread is a helpful link to the events package so you don't have to look for it every time.
     
  14. Offline

    Gamecube762

    Now only if everyone else took time to read the post I posted on the original thread before all of this started...
     
  15. Offline

    PandazNWafflez

    Gamecube762 You're being ridiculous. How is it better to scroll down to the bottom of a thread when you want to see it than to have one single thread with a link to them.
     
  16. Offline

    AoH_Ruthless

    ChipDev
    This also means the banter. It would be better to keep it on one thread than 3+ threads ...
     
  17. Offline

    leet4044

    That's kinda invalid. That is just going to another page and scrolling down to through the list. I prefer either and using ctr + f to find an event.
     
  18. Offline

    PandazNWafflez

    leet4044 wat. You can search the JavaDocs......
     
  19. Offline

    Wingzzz

    Yeah... I'd like to discourage people from making lists like this. It is much more beneficial for everyone in the long run to instead have a tutorial on how to find, navigate, and read javadocs (or a variant such as doxygen which should mostly just differ in interface/layout).

    Not saying this thread is necessarily a negative thing, but experienced members should be trying to put effort towards threads that can teach others a more proper way to read what a project has to offer (ie: how to read the project's documentation- in this case the javadoc for the Bukkit API).
     
    Gamecube762 likes this.
Thread Status:
Not open for further replies.

Share This Page