575 Commits

Author SHA1 Message Date
sk89q
c036295d7f Added compass setting methods. 2011-01-20 02:10:35 -08:00
sk89q
af769715f3 Added suffocation damage as an event. 2011-01-20 02:10:35 -08:00
Andrew Ardill
4342ea7c7f fix for entity damaged by projectile event 2011-01-20 20:22:34 +11:00
Dinnerbone
5f63f77bf1 Added /version and /reload commands 2011-01-20 03:53:27 +00:00
Dinnerbone
eee866bf25 Fixed empty check in PluginCommand 2011-01-20 03:08:15 +00:00
Dinnerbone
79883d5ad6 Material.getMaxStackSize 2011-01-20 02:51:17 +00:00
Dinnerbone
5f407c11a2 Fixed Button and Lever MaterialData returning incorrect getAttachedFace() 2011-01-20 01:14:49 +00:00
FeepingCreature
efd4871672 add getSpawnLocation() to the World API 2011-01-20 08:58:33 +08:00
Nathan Wolf
dad2a46ba9 Address Feature#105:Implement support for PLAYER_ANIMATION hook/event.
Requires corresponding CraftBukkit change.

NOTE: The email address of this commit used to be: "Nathan Wolf < <nteske@gmail.com>"
      This has been fixed but will cause all commits after to change.
2014-09-09 06:47:54 +02:00
mcasper
ab5cdfe224 Event hooks were ordered in backwards order versus the expected way. To avoid sorting problems and manual sorting, changed priority to be handled by a PriorityQueue<>() rather than a manually sorted List().
Resolves issue 211 http://bugs.bukkit.org/issues/211
2011-01-20 07:52:55 +08:00
Tahg
0a2f2c7b45 added isOp api 2011-01-18 22:32:05 -05:00
VictorD
6f07a1bbb2 Fixed minor bug with alias registration and removed debug output 2011-01-18 01:54:48 +01:00
VictorD
0951ed5de8 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict. 2011-01-18 01:12:50 +01:00
Tahg
d54b9dea8b Merge branch 'master' of https://github.com/Bukkit/Bukkit 2011-01-17 17:40:13 -05:00
Tahg
5c70e86d89 fixed storage of data field 2011-01-17 17:39:27 -05:00
Tal Eisenberg
d06e0c1562 added call to onBlockRedstoneChange 2011-01-18 04:47:11 +08:00
speakeasy
f4908db7c1 Added EntityExplodeEvent :D 2011-01-18 00:22:02 +08:00
Andrew Ardill
06d99445d9 Added interfaces for every entity type. Most (if not all) are empty.
These are place holders at the moment, to be used when determining
entity type. Further functionality could be added to these interfaces
later.
2011-01-18 00:20:05 +08:00
Erik Broes
13ded78086 Updated Inventory with proper generics, fixed ItemStack to have data as 'Byte' so we can put in nulls when not having data. 2011-01-17 01:50:33 +01:00
sk89q
816da0fb61 Added Configuration.getKeys(). 2011-01-16 13:28:59 -08:00
VictorD
8eeb293d2b Added null check and removed unused method from Fillr 2011-01-16 17:05:13 +01:00
VictorD
267afcb0ea Added command registration to plugin config file. Registered commands are sent to the corresponding plugin.onCommand method when executed. 2011-01-16 16:30:34 +01:00
Erik Broes
8a9d21c7f3 Added Invenrory.removeItem(ItemStack...) 2011-01-16 16:10:32 +01:00
durron597
d41105f3af Removed unnecessary imports 2011-01-16 09:00:25 -05:00
durron597
4614086ff4 Removed field that shouldn't be there. 2011-01-16 08:59:33 -05:00
Andrew Ardill
db5d43c2a9 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
a3da4005e4 Fixed BlockFromToEvent not knowing source block from destination block. 2011-01-15 21:20:23 -08:00
sk89q
101fffc82f Added Block.getRelative(BlockFace). 2011-01-15 19:33:39 -08:00
sk89q
757fc26e4a Added item-in-hand related API. 2011-01-15 19:33:19 -08:00
sk89q
5d9fb3e884 Updated JavaPluginLoader with renamed methods. 2011-01-15 17:14:28 -08:00
sk89q
990b70e23c Fixed BlockListener methods to be present tense. 2011-01-15 17:09:10 -08:00
sk89q
d84827914b Added setContents() to Inventory. 2011-01-15 14:41:25 -08:00
sk89q
3fd9f09e01 Moved org.bukkit.Vector to org.bukkit.util. 2011-01-15 13:43:09 -08:00
sk89q
fdbd1537bf Added Server.broadcastMessage(). 2011-01-15 13:40:19 -08:00
Dinnerbone
ba635ade10 Moved block stuff from org.bukkit to org.bukkit.block 2011-01-15 21:37:08 +00:00
Dinnerbone
ec69ae1033 All inventory stuff in org.bukkit moved to org.bukkit.inventory 2011-01-15 21:27:40 +00:00
Dinnerbone
4764962cf9 All entity stuff in org.bukkit moved to org.bukkit.entity 2011-01-15 21:20:59 +00:00
Dinnerbone
194ef1a5d4 Added Sign MaterialData 2011-01-15 21:12:14 +00:00
Erik Broes
82137e0851 Added Inventory.clear(|index) Inventory.remove(typeId|Material|ItemStack) 2011-01-15 21:58:57 +01:00
Erik Broes
8cf9d7fe6c Fixed 3 event rename typos, cheers Master-Guy for letting me know 2011-01-15 21:58:57 +01:00
Dinnerbone
d923cd8c37 Added Button MaterialData 2011-01-15 20:58:34 +00:00
Dinnerbone
f56a6d31d7 Added Lever MaterialData 2011-01-15 20:51:16 +00:00
Dinnerbone
6298c6f6dd Added Ladder MaterialData 2011-01-15 20:45:24 +00:00
Dinnerbone
ec22c5fc3e Correctly added all MaterialData to their appropriate Material enum 2011-01-15 20:38:41 +00:00
Dinnerbone
f118739210 RedstoneWire MaterialData 2011-01-15 20:35:22 +00:00
Dinnerbone
2e7c22c42b RedstoneTorch MaterialData + Redstone interface 2011-01-15 20:31:00 +00:00
Dinnerbone
3f5d5276e2 Added Torches 2011-01-15 20:31:00 +00:00
Dinnerbone
468c8bd48b Added Attachable MaterialData 2011-01-15 20:31:00 +00:00
Erik Broes
9afcb8ecc7 Events should be present tense, not paste tense. 2011-01-15 21:26:42 +01:00
Dinnerbone
34b3cc4b37 Changed BlockFace to match enum standards 2011-01-15 20:19:41 +00:00