Commit Graph

265 Commits

Author SHA1 Message Date
stevenh
247e77579a Renamed IExecutor -> CommandExecutor and fixed SERVER_COMMAND doc 2011-01-29 21:17:36 +00:00
stevenh
dc04480c96 Finalising merge with head 2011-01-29 17:28:31 +00:00
stevenh
0814239f31 merge with head 2011-01-29 17:18:32 +00:00
stevenh
cc404ced12 Refactored event calling so its front loading avoiding the lookup for each event call.
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling

Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon

Fixed CustomEventListener

Merged in additional events

Added getFullName to PluginDescriptionFile which returns the combination of Name and Version

There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(
2011-01-29 16:23:56 +00:00
Dinnerbone
da063ad675 ENTITY_DEATH 2011-01-27 13:25:20 +00:00
Taylor Kelly
0e7dc4e1b5 BlockBurnEvent 2011-01-26 16:13:04 -05:00
Taylor Kelly
3512d29524 EntityTargetEvent 2011-01-26 14:27:43 -05:00
VictorD
232c811519 Added getBlockReplacedState to enable checking of type of replaced block. 2011-01-24 23:24:17 +01:00
sk89q
1c88287348 Added PlayerEggThrowEvent.getEgg(). 2011-01-23 14:06:58 -08:00
Adam Tanner
b813e9222f EntityExplodeEvent keeps track of its Location. 2011-01-21 23:59:34 +08:00
sk89q
8613231dc0 Added suffocation damage as an event. 2011-01-20 02:10:35 -08:00
Andrew Ardill
d58b59b5cd fix for entity damaged by projectile event 2011-01-20 20:22:34 +11:00
Nathan Wolf
bf4265210a Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
Requires corresponding CraftBukkit change.
2011-01-20 07:56:21 +08:00
speakeasy
f9e46f8481 Added EntityExplodeEvent :D 2011-01-18 00:22:02 +08:00
durron597
f833bb2285 Removed field that shouldn't be there. 2011-01-16 08:59:33 -05:00
Andrew Ardill
696880e64f Implementation of the EntityDamage*Events.
A new event EntityDamageByProjectileEvent was created. EntityDamageByProjectileEvent
adds the ability to get the projectile entity (such as an egg) and also set if
the projectile 'bounces'. New interfaces were created to facilitate all kinds
of projectile entities. Changes were made to facilitate the new event, and
enable other events, for plugins and event listeners.
2011-01-16 14:13:44 +01:00
sk89q
3b0385334e Fixed BlockFromToEvent not knowing source block from destination block. 2011-01-15 21:20:23 -08:00
sk89q
f6ef690d1b Fixed BlockListener methods to be present tense. 2011-01-15 17:09:10 -08:00
Dinnerbone
e50b5d6ecf Moved block stuff from org.bukkit to org.bukkit.block 2011-01-15 21:37:08 +00:00
Dinnerbone
f419f23cf3 All inventory stuff in org.bukkit moved to org.bukkit.inventory 2011-01-15 21:27:40 +00:00
Dinnerbone
b923ccf636 All entity stuff in org.bukkit moved to org.bukkit.entity 2011-01-15 21:20:59 +00:00
Erik Broes
e436bfc3d9 Fixed 3 event rename typos, cheers Master-Guy for letting me know 2011-01-15 21:58:57 +01:00
Erik Broes
bbd7fffaac Events should be present tense, not paste tense. 2011-01-15 21:26:42 +01:00
Erik Broes
b8072b8a37 Global ID -> Id rename 2011-01-15 20:54:06 +01:00
Dinnerbone
a61ae767f3 New materials, changed material names per style guidelines + correct names 2011-01-13 23:33:51 +00:00
Tahg
8c36da8892 Added redstone event 2011-01-12 12:40:21 -05:00
Taylor Kelly
f4bd88e1f4 Remove @overrides from EntityCombust 2011-01-11 19:41:04 -05:00
Taylor Kelly
b6a573c31f EggThrow - remove extra stuff 2011-01-11 03:02:30 -05:00
Taylor Kelly
e732e72985 PlayerEggThrowEvent 2011-01-11 02:58:51 -05:00
Taylor Kelly
b29d41c282 BlockDamagedEvent 2011-01-10 02:59:30 +00:00
Taylor Kelly
04f5a1e82b EntityCombustEvent 2011-01-10 02:59:30 +00:00
speakeasy
4e8f1190af Added BlockIgniteEvent. 2011-01-10 09:09:43 +08:00
durron597
5601817743 forgot to initialize cancel 2011-01-09 12:34:57 -05:00
Luke GB
b1cab8c5ee Added JavaDoc @see comments and @todo notes for those that aren't specified in the listener 2011-01-09 13:14:28 +00:00
durron597
b1d277aa1e Removed unnecessary import warnings 2011-01-09 07:52:03 -05:00
Dinnerbone
c635b52a88 Fixed VehicleListener not being able to register 2011-01-08 18:47:14 +00:00
durron597
9708ebcb39 Should be LivingEntity 2011-01-08 08:05:04 -05:00
durron597
98b6937ac2 Implemented BlockInteract, BlockRightClicked and PlayerItem. Removed
BlockItem as we're not doing it that way anymore.
2011-01-08 05:45:15 -05:00
sk89q
3450df0541 Moving some minecart flags that don't belong in the event out of the event. 2011-01-07 12:26:24 -08:00
sk89q
b2752f5492 Merge remote branch 'remotes/origin/master' 2011-01-07 11:18:03 -08:00
sk89q
3d94820557 Various changes to the vehicle hooks. 2011-01-07 11:16:04 -08:00
Dinnerbone
4ff2e5be4c Added PlayerChatEvent.getFormat/setFormat 2011-01-07 13:31:16 +00:00
durron597
d1d5932abe Removed BlockRightClicked, as it's subsumed by PlayerBlockItemEvent 2011-01-07 05:44:51 -05:00
durron597
0b03f7fd70 Added canBuild to event 2011-01-07 05:38:45 -05:00
durron597
380b5c212c Implemented Item_Use events 2011-01-07 05:34:07 -05:00
durron597
a99b1e0bd7 First version of item use event 2011-01-07 05:34:06 -05:00
Dinnerbone
05499e1f56 Javadoc 2011-01-04 22:05:53 +00:00
Dinnerbone
b0d938d9ef Removed onBlockSent, added onLeavesDecay 2011-01-04 22:03:15 +00:00
Dinnerbone
89cba41180 Added Chunk events in new World category 2011-01-04 14:08:56 +00:00
sk89q
7b749e8549 Added dummy getPlayer() to BlockBrokenEvent and BlockPlacedEvent in order to get WorldEdit to compile. 2011-01-03 12:02:42 -08:00