Commit graph

69 commits

Author SHA1 Message Date
Bukkit/Spigot
d520767525 Merge branch 'master' of github.com:Dinnerbone/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 06:59:52 +00:00
Bukkit/Spigot
647e335bc4 Moved itemstack.type to material
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-01-01 06:59:21 +00:00
Bukkit/Spigot
29cb3a3a79 Added onBlockCanBuild to loader
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:55:04 -05:00
Bukkit/Spigot
b5cbcfbcdb Sample to let you place cactus anywhere
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:40:02 -05:00
Bukkit/Spigot
29bd4853cb Merge remote branch 'upstream/master'
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:26:38 -05:00
Bukkit/Spigot
7aac860d94 Implemented BLOCK_CANBUILD, had wrong Listener method name
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:25:22 -05:00
Bukkit/Spigot
6c30c83e91 Implemented BLOCK_CANBUILD
By: durron597 <martin.jared@gmail.com>
2011-01-01 01:20:44 -05:00
Bukkit/Spigot
be1ad0e040 Added BlockCanBuild Event. Fixed Event enumeration
By: durron597 <martin.jared@gmail.com>
2010-12-31 22:44:11 -05:00
Bukkit/Spigot
1c88da4e93 Actually put the correct functionality in isCancelled and setCancelled
By: durron597 <martin.jared@gmail.com>
2010-12-31 22:42:45 -05:00
Bukkit/Spigot
1ec5689002 Reimplemented BlockFlow to use multiple BlockFromToEvents
By: durron597 <martin.jared@gmail.com>
2010-12-31 21:17:16 -05:00
Bukkit/Spigot
7d88f00839 Added Cancellable interface
By: durron597 <martin.jared@gmail.com>
2010-12-31 20:40:44 -05:00
Bukkit/Spigot
4ef3cfa0e8 Added private static final UID
By: durron597 <martin.jared@gmail.com>
2010-12-31 20:38:17 -05:00
Bukkit/Spigot
a2010332f6 Merge branch 'master' of github.com:Dinnerbone/Bukkit
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-31 21:58:47 +00:00
Bukkit/Spigot
4124f9e7bb Updated sample plugin to test physics
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-31 21:45:55 +00:00
Bukkit/Spigot
3be4ecd28c Added self face
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:10:31 -05:00
Bukkit/Spigot
eff44b6a95 Stated "not implemented yet"
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:09:22 -05:00
Bukkit/Spigot
66676f3800 Implemented BlockRightClickedEvent
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:09:02 -05:00
Bukkit/Spigot
7740148f73 Fixed bug with BlockFlow.equals
Added second constructor for collections

By: durron597 <martin.jared@gmail.com>
2010-12-31 09:07:39 -05:00
Bukkit/Spigot
a0acf45461 Changed it so we store both the block and the face for speed
By: durron597 <martin.jared@gmail.com>
2010-12-31 09:07:12 -05:00
Bukkit/Spigot
fe393aa73d Implemented BLOCK_FLOW
By: durron597 <martin.jared@gmail.com>
2010-12-31 07:53:56 -05:00
Bukkit/Spigot
ddd950ae40 Added BlockFlowEvent, fixed up BlockFromToEvent, cleaned up
BlockListener

By: durron597 <martin.jared@gmail.com>
2010-12-30 18:22:22 -05:00
Bukkit/Spigot
53b6d54100 Changed fromTo to be Block, Face
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:49:52 -05:00
Bukkit/Spigot
d9184242dc 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

By: durron597 <martin.jared@gmail.com>
2010-12-30 17:40:14 -05:00
Bukkit/Spigot
ee50ed0ba6 Changed event enumeration
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:16:50 -05:00
Bukkit/Spigot
4e456dc092 Added block events
By: durron597 <martin.jared@gmail.com>
2010-12-30 17:16:06 -05:00
Bukkit/Spigot
fabb5e628a BlockPhysics can be canceled
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 22:07:37 +00:00
Bukkit/Spigot
56bf34db1e Added the single most important event ever to be conceived
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 21:59:53 +00:00
Bukkit/Spigot
7e203ee761 Added debugging tools to sampleplugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 20:33:48 +00:00
Bukkit/Spigot
5ca171b422 Broken plugins no longer crash the server
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 18:54:04 +00:00
Bukkit/Spigot
9e1f814646 Added sendMessage() to player, added /pos to sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:52:26 +00:00
Bukkit/Spigot
54e61aab10 Moved getName from Player to HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 04:29:53 +00:00
Bukkit/Spigot
2306dd52d7 Rename EntityHuman -> HumanEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-30 03:50:08 +00:00
Bukkit/Spigot
9edbd3958d EntityHuman is a LivingEntity
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 23:18:09 +00:00
Bukkit/Spigot
854fe58b3f Changed ItemStack to be a class, added body
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 23:07:15 +00:00
Bukkit/Spigot
033223a9f7 Added Entity interfaces, changed Player to implement these
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 22:11:33 +00:00
Bukkit/Spigot
7459a15477 Location implements Cloneable
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 03:19:12 +00:00
Bukkit/Spigot
7c433de12d Swapped yaw/pitch in Location constructor to match Minecraft
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 01:15:16 +00:00
Bukkit/Spigot
331ba1b6a2 Fixed another nullcheck in pluginmanager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-29 00:10:22 +00:00
Bukkit/Spigot
d98a5eadfe Additional constructor for PlayerLoginEvent
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 22:54:39 +00:00
Bukkit/Spigot
304ad67759 Tweak to PlayerChatEvent, allow plugins to set the player that the chat/command executes as
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:52:08 +00:00
Bukkit/Spigot
b63f46250a Make a start on block events, fixed nullcheck in PluginManager
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 21:02:39 +00:00
Bukkit/Spigot
695bda59ee Added onPlayerLogin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 17:39:23 +00:00
Bukkit/Spigot
3a968aa90a Added onPlayerMove and onPlayerTeleport
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 16:59:25 +00:00
Bukkit/Spigot
e61f164e8b Added onPlayerChat and onPlayerCommand
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 16:41:37 +00:00
Bukkit/Spigot
de10dba640 Fixed sample plugin
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:51:45 +00:00
Bukkit/Spigot
e657f1fe24 Fixed rename
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:41:11 +00:00
Bukkit/Spigot
787c680ed9 Removed server argument on events, renamed player events and commented out the rest for now
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-28 15:39:36 +00:00
Bukkit/Spigot
f72da929e1 Removed eventFactory, it's useless
By: durron597 <martin.jared@gmail.com>
2010-12-28 11:03:10 +08:00
Bukkit/Spigot
ed3dcbdd2b Eventing redone, revision 1
By: durron597 <martin.jared@gmail.com>
2010-12-28 10:48:03 +08:00
Bukkit/Spigot
e364e973c7 Added Location
By: Dinnerbone <dinnerbone@dinnerbone.com>
2010-12-27 02:11:52 +00:00