31 Commits

Author SHA1 Message Date
durron597
0b7cab13d0 Implemented BLOCK_CANBUILD, had wrong Listener method name 2011-01-01 01:25:22 -05:00
durron597
f527fd4398 Added BlockCanBuild Event. Fixed Event enumeration 2010-12-31 22:44:11 -05:00
durron597
e26e2d70e8 Actually put the correct functionality in isCancelled and setCancelled 2010-12-31 22:42:45 -05:00
durron597
a44979c88b Reimplemented BlockFlow to use multiple BlockFromToEvents 2010-12-31 21:17:16 -05:00
durron597
2e3f21bcf2 Added Cancellable interface 2010-12-31 20:40:44 -05:00
durron597
6dc4698062 Added private static final UID 2010-12-31 20:38:17 -05:00
durron597
8a6569f229 Stated "not implemented yet" 2010-12-31 09:09:22 -05:00
durron597
055c64106d Implemented BlockRightClickedEvent 2010-12-31 09:09:02 -05:00
durron597
a8b7a63a8e Fixed bug with BlockFlow.equals
Added second constructor for collections
2010-12-31 09:07:39 -05:00
durron597
0520b39adf Changed it so we store both the block and the face for speed 2010-12-31 09:07:12 -05:00
durron597
94921bc3e5 Implemented BLOCK_FLOW 2010-12-31 07:53:56 -05:00
durron597
df2f0d42ae Added BlockFlowEvent, fixed up BlockFromToEvent, cleaned up
BlockListener
2010-12-30 18:22:22 -05:00
durron597
0889be4df5 Changed fromTo to be Block, Face 2010-12-30 17:49:52 -05:00
durron597
008eb89768 Merge remote branch 'upstream/master'
Conflicts:
	src/org/bukkit/event/block/BlockEvent.java
	src/org/bukkit/event/block/BlockListener.java
	src/org/bukkit/event/block/BlockPhysicsEvent.java
2010-12-30 17:40:14 -05:00
durron597
4c94922215 Changed event enumeration 2010-12-30 17:16:50 -05:00
durron597
a1d10a087c Added block events 2010-12-30 17:16:06 -05:00
Dinnerbone
728122befc BlockPhysics can be canceled 2010-12-30 22:07:37 +00:00
Dinnerbone
6f6c4d7ce0 Added the single most important event ever to be conceived 2010-12-30 21:59:53 +00:00
Dinnerbone
0a9d59291f Additional constructor for PlayerLoginEvent 2010-12-28 22:54:39 +00:00
Dinnerbone
f9058e5161 Tweak to PlayerChatEvent, allow plugins to set the player that the chat/command executes as 2010-12-28 21:52:08 +00:00
Dinnerbone
caf0d3e27a Make a start on block events, fixed nullcheck in PluginManager 2010-12-28 21:02:39 +00:00
Dinnerbone
1ce00ae074 Added onPlayerLogin 2010-12-28 17:39:23 +00:00
Dinnerbone
78a2cccfb5 Added onPlayerMove and onPlayerTeleport 2010-12-28 16:59:25 +00:00
Dinnerbone
d94db03ae2 Added onPlayerChat and onPlayerCommand 2010-12-28 16:41:37 +00:00
Dinnerbone
87b8e08230 Removed server argument on events, renamed player events and commented out the rest for now 2010-12-28 15:39:36 +00:00
durron597
d6937757d7 Removed eventFactory, it's useless 2010-12-28 11:08:18 +08:00
durron597
37f3b8fe58 Eventing redone, revision 1 2010-12-28 11:08:17 +08:00
Dinnerbone
06d9676c09 Moved PlayerQuit to use normal PlayerEvent, dropped Reason param 2010-12-26 23:21:21 +00:00
Dinnerbone
84f76c3d4b First two hooks working, updated sample 2010-12-26 02:20:05 +00:00
Dinnerbone
98e500fd96 All code to call events and delegate back to plugins 2010-12-26 00:21:00 +00:00
Dinnerbone
0ea5acd7dc What an event! 2010-12-25 20:28:11 +00:00