Bukkit/Spigot
c180de46e2
[Bleeding] Inventory framework and events. Addresses BUKKIT-856
...
New events:
- InventoryOpenEvent
- InventoryClickEvent - detects any clicks on a slot or outside the window
- In the creative inventory view, only clicks on the quickbar are detected
- InventoryCloseEvent
- BrewEvent - when a potion finishes brewing
- CraftItemEvent (a subevent of InventoryClickEvent) - fired when taking the crafted item
- PrepareItemCraftEvent - fired just before updating the result slot
Changes to existing events:
- EnchantItemEvent extends InventoryEvent and also has a new whichButton() method
- PrepareItemEnchantEvent also extends InventoryEvent
- FurnaceBurnEvent and FurnaceSmeltEvent now extend BlockEvent (as does BrewEvent)
- PlayerInventoryEvent is deprecated (though it never did anything anyway)
New subclasses of Inventory:
- BrewerInventory
- CraftingInventory
- DoubleChestInventory
- EnchantingInventory
- FurnaceInventory
New methods in Inventory:
- getViewers()
- getTitle()
- getType()
- getHolder()
- iterator() - Yes, inventories are now iterable!
- The iterator is a ListIterator that does not support add or remove
New methods in Player:
- getOpenInventory()
- openInventory()
- openWorkbench()
- openEnchanting()
- closeInventory()
- setWindowProperty()
- getItemOnCursor()
- setItemOnCursor()
Other changes:
- createInventory() methods in Server to make inventories not linked to an object
- ContainerBlock is deprecated in favour of InventoryHolder
- New InventoryView class gives direct access to an inventory window!
- Removed the Slot class which did nothing and was used nowhere
Some small credit goes to Afforess (initial conception of openInventory() methods) and Drakia (initial conception of InventoryOpenEvent and InventoryCloseEvent).
By: Celtic Minstrel <celtic.minstrel.ca@some.place >
2012-02-29 13:32:33 -05:00
Bukkit/Spigot
27fb3d2fea
Fixed PlayerPortalEvent constructor.
...
By: EvilSeph <evilseph@gmail.com >
2012-02-29 14:27:05 -05:00
Bukkit/Spigot
c2e4349767
Added NETHER_PORTAL and END_PORTAL to the TeleportCause enum. Addresses BUKKIT-265
...
Added new NETHER_PORTAL and END_PORTAL values to the TeleportCause enum
and relevant constructor for PlayerPortalEvent.
By: James Clarke <jamesrtclarke@me.com >
2012-02-15 19:54:01 +00:00
Bukkit/Spigot
6e054ddf7f
[Bleeding] Added EntityType to replace CreatureType.
...
By: Celtic Minstrel <celtic.minstrel.ca@some.place >
2012-02-14 23:52:38 -05:00
Bukkit/Spigot
e4de1795db
[Bleeding] Event no longer implements Serializable.
...
By: Feildmaster <admin@feildmaster.com >
2012-02-19 01:25:46 -06:00
Bukkit/Spigot
75fd934339
Deprecation cleanup.
...
By: Erik Broes <erikbroes@grum.nl >
2012-01-30 21:32:48 +01:00
Bukkit/Spigot
7e5c1baee9
[Bleeding] Added Sheep, Shear and EntityChangeBlock API. Thanks tips48! Closes BUKKIT-512
...
By: Aidan Matzko <amatzko48@gmail.com >
2012-01-21 21:20:49 -05:00
Bukkit/Spigot
1a86a7e3f7
Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR.
...
By: Nathan Adams <dinnerbone@dinnerbone.com >
2012-01-19 16:07:03 +00:00
Bukkit/Spigot
e0c7fc6bf5
[Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran.
...
By: Nathan Adams <dinnerbone@dinnerbone.com >
2012-01-16 18:25:17 +00:00
Bukkit/Spigot
4c80a49933
Generic cleaning
...
By: Erik Broes <erikbroes@grum.nl >
2012-01-15 14:37:30 +01:00
Bukkit/Spigot
aaab1cba23
Generic cleanup of warnings, whitespace and style.
...
By: Erik Broes <erikbroes@grum.nl >
2011-12-25 16:02:30 +01:00
Bukkit/Spigot
f3ddaaf09f
Added cause to PlayerTeleportEvent
...
By: Nathan Adams <dinnerbone@dinnerbone.com >
2011-12-04 11:03:32 +00:00
Bukkit/Spigot
2a3a80d543
Added PlayerChangedWorldEvent.
...
By: sunkid <sunkid@iminurnetz.com >
2011-09-30 20:29:24 +02:00
Bukkit/Spigot
a8e72bdb91
Many javadoc fixes thanks to Celtic Minstrel
...
By: Dinnerbone <dinnerbone@dinnerbone.com >
2011-09-25 02:56:40 +01:00
Bukkit/Spigot
a3e8ec7d78
Added PlayerToggleSprint event and sprinting related API.
...
By: Rigby <rigby@onarandombox.com >
2011-09-21 11:46:33 +01:00
Bukkit/Spigot
a7f6bb5cd4
addition of PlayerGameModeChangeEvent
...
By: sunkid <sunkid@iminurnetz.com >
2011-09-16 19:49:56 -07:00
Bukkit/Spigot
26305c7551
Made PlayerAnimation cancellable. Thanks desmin88!
...
By: EvilSeph <evilseph@gmail.com >
2011-07-28 10:53:19 -04:00
Bukkit/Spigot
c9b9f56903
Added PlayerVelocityEvent. Thanks Evenprime!
...
By: EvilSeph <evilseph@gmail.com >
2011-07-28 01:17:07 -04:00
Bukkit/Spigot
3c852a3c8f
Remove superfluous javadocs
...
By: Erik Broes <erikbroes@grum.nl >
2011-07-17 17:02:03 +02:00
Bukkit/Spigot
c11905550e
Refactor Bucket events
...
By: Erik Broes <erikbroes@grum.nl >
2011-07-17 17:01:05 +02:00
Bukkit/Spigot
402794beff
More JavaDoc improvements.
...
By: EvilSeph <evilseph@gmail.com >
2011-07-15 01:15:05 -04:00
Bukkit/Spigot
84a45a3927
Added PlayerFish event.
...
By: EvilSeph <evilseph@unaligned.org >
2011-07-03 00:23:37 -04:00
Bukkit/Spigot
ccbd9a6709
Fixed PlayerPickupItem event returning wrong amount picked up and added function to get the amount remaining on the ground.
...
By: EvilSeph <evilseph@unaligned.org >
2011-07-02 14:04:57 -04:00
Bukkit/Spigot
c54128077a
More JavaDoc improvements.
...
By: EvilSeph <evilseph@unaligned.org >
2011-06-24 02:32:04 -04:00
Bukkit/Spigot
0a4fb615fc
Added missing 'implements Cancellable' to several classes.
...
By: EvilSeph <evilseph@unaligned.org >
2011-06-22 17:23:44 -04:00
Bukkit/Spigot
d9d0416069
Implements isBedSpawn() to the PlayerRespawnEvent.
...
By: Rigby <rigby@onarandombox.com >
2011-06-21 04:32:47 +01:00
Bukkit/Spigot
8c6ccaee27
Implements customiseable PortalTravelAgent and updated PlayerPortalEvent.
...
By: Rigby <rigby@onarandombox.com >
2011-06-18 00:59:14 +01:00
Bukkit/Spigot
2a62ac59bf
Added PlayerToggleSneakEvent.isSneaking().
...
By: sk89q <the.sk89q@gmail.com >
2011-06-18 14:34:59 -07:00
Bukkit/Spigot
dc11d556ba
Removing 14 deprecated methods per http://bit.ly/mO2f4d
...
By: Dinnerbone <dinnerbone@dinnerbone.com >
2011-06-16 22:06:18 +01:00
Bukkit/Spigot
c5408f1030
Generic cleanup
...
By: Erik Broes <erikbroes@grum.nl >
2011-06-12 01:18:17 +02:00
Bukkit/Spigot
2c4ba8815e
Added various 1.6 portal events.
...
By: Stephen <stephen@jazer.com >
2011-06-07 14:12:08 -04:00
Bukkit/Spigot
855f4133b6
Whitespace + general cleanup
...
By: Erik Broes <erikbroes@grum.nl >
2011-05-14 23:22:54 +02:00
Bukkit/Spigot
03ff88b71d
Added PlayerInteractEntityEvent which fires when a player right clicks an entity. Thanks fullwall!
...
By: EvilSeph <evilseph@unaligned.org >
2011-05-02 04:30:10 -04:00
Bukkit/Spigot
33d8037626
Removed trailing spaces.
...
By: EvilSeph <evilseph@unaligned.org >
2011-05-02 04:15:27 -04:00
Bukkit/Spigot
7d382b5ee6
Fixed formatting and removed tabs.
...
By: EvilSeph <evilseph@unaligned.org >
2011-04-27 23:48:43 -04:00
Bukkit/Spigot
2556140901
Updated README for line-ending demands, also fixed line-endigs.
...
By: Erik Broes <erikbroes@grum.nl >
2011-04-25 13:24:32 +02:00
Bukkit/Spigot
42104fcf61
Dammit, line endings!
...
By: Dinnerbone <dinnerbone@dinnerbone.com >
2011-04-21 15:27:18 +01:00
Bukkit/Spigot
a53996b243
Added pre-login event for catching logins right after name verification has completed. This happens in a different thread from the server (and thus can also block).
...
By: sk89q <the.sk89q@gmail.com >
2011-04-16 03:08:05 -07:00
Bukkit/Spigot
f31d7de587
Added bed events and methods.
...
By: sk89q <the.sk89q@gmail.com >
2011-04-07 11:26:33 -07:00
Bukkit/Spigot
b6e68ee5e5
Line endings. This is getting very annoying.
...
By: Dinnerbone <dinnerbone@dinnerbone.com >
2011-04-05 16:35:57 +01:00
Bukkit/Spigot
871953413c
Fixed PlayerInventoryEvent Type.
...
By: EvilSeph <evilseph@unaligned.org >
2011-04-04 20:40:46 -04:00
Bukkit/Spigot
a977e93d7f
Added the ability to set the quit message
...
By: Raphfrk <raphfrk@gmail.com >
2011-04-02 15:40:25 +01:00
Bukkit/Spigot
19ec204cc9
We weren't supposed to break things *that* hard. Plugins still need to update but here's a TEMPORARY fix.
...
By: Dinnerbone <dinnerbone@dinnerbone.com >
2011-03-31 22:51:26 +01:00
Bukkit/Spigot
db5dfb3f10
Force compile-time failures for the subtle changes done in the API
...
By: Erik Broes <erikbroes@grum.nl >
2011-03-30 00:25:59 +02:00
Bukkit/Spigot
de1f8b0dba
Added the KICK_WHITELIST Result for players being kicked from not being on the whitelist, just because KICK_BANNED didn't seem to fit.
...
By: HACKhalo2 <hackhalotwo@gmail.com >
2011-03-20 02:06:19 -04:00
Bukkit/Spigot
7e6d0bd531
fixed PlayerCommandPreprocessEvent inheritance
...
By: sunkid <sunkid@iminurnetz.com >
2011-03-28 17:15:41 -07:00
Bukkit/Spigot
7237d8aa07
Fixed PlayerTeleportEvent so getType() returns Type.PLAYER_TELEPORT
...
By: Byron Shelden <byron.shelden@gmail.com >
2011-03-27 16:08:57 -07:00
Bukkit/Spigot
9418264170
Line endings, consistency!
...
By: Dinnerbone <dinnerbone@dinnerbone.com >
2011-03-27 21:27:27 +01:00
Bukkit/Spigot
c640518469
Change some more signatures :(
...
onPlayerCommandPreprocess(PlayerChatEvent event) -> onPlayerCommandPreprocess(PlayerCommandPreprocessEvent event)
onBlockFlow(BlockFromToEvent event) -> onBlockFromTo(BlockFromToEvent event)
onPlayerJoin(PlayerEvent event) -> onPlayerJoin(PlayerJoinEvent event)
onPlayerQuit(PlayerEvent event) -> onPlayerQuit(PlayerQuitEvent event)
onPlayerTeleport(PlayerMoveEvent event) -> onPlayerTeleport(PlayerTeleportEvent event)
By: Erik Broes <erikbroes@grum.nl >
2011-03-27 00:16:06 +01:00
Bukkit/Spigot
020da84ad2
Some more backwards incompatible changes (minor though), also a ton of small cleanup.
...
onPluginEnable(PluginEvent event) -> onPluginEnable(PluginEnableEvent event)
onPluginDisable(PluginEvent event) -> onPluginDisable(PluginDisableEvent event)
onVehicleUpdate(VehicleEvent event) -> onVehicleUpdate(VehicleUpdateEvent event)
onWorldSave(WorldEvent event) -> onWorldSave(WorldSaveEvent event)
onWorldLoad(WorldEvent event) -> onWorldLoad(WorldLoadEvent event)
By: Erik Broes <erikbroes@grum.nl >
2011-03-26 22:21:20 +01:00