Commit Graph

775 Commits

Author SHA1 Message Date
VictorD
ad2bfe6bf6 Fixed minor bug with alias registration and removed debug output 2011-01-18 01:54:48 +01:00
VictorD
7a9ecbef53 Updated commands to have optional aliases, and to fallback to /pluginName:cmdName on name conflict. 2011-01-18 01:12:50 +01:00
Tahg
b440e67220 Merge branch 'master' of https://github.com/Bukkit/Bukkit 2011-01-17 17:40:13 -05:00
Tahg
b274a7faec fixed storage of data field 2011-01-17 17:39:27 -05:00
Tal Eisenberg
88560741ad added call to onBlockRedstoneChange 2011-01-18 04:47:11 +08:00
speakeasy
f9e46f8481 Added EntityExplodeEvent :D 2011-01-18 00:22:02 +08:00
Andrew Ardill
b1729b097e 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
1f94399da6 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
8c46089fe5 Added Configuration.getKeys(). 2011-01-16 13:28:59 -08:00
VictorD
558100cab9 Added null check and removed unused method from Fillr 2011-01-16 17:05:13 +01:00
VictorD
f8335d6cab 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
2ab7b0d146 Added Invenrory.removeItem(ItemStack...) 2011-01-16 16:10:32 +01:00
durron597
d6265bdc14 Removed unnecessary imports 2011-01-16 09:00:25 -05: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
5650443aad Added Block.getRelative(BlockFace). 2011-01-15 19:33:39 -08:00
sk89q
68b8c805a6 Added item-in-hand related API. 2011-01-15 19:33:19 -08:00
sk89q
0013e12933 Updated JavaPluginLoader with renamed methods. 2011-01-15 17:14:28 -08:00
sk89q
f6ef690d1b Fixed BlockListener methods to be present tense. 2011-01-15 17:09:10 -08:00
sk89q
377de89163 Added setContents() to Inventory. 2011-01-15 14:41:25 -08:00
sk89q
e444bad7da Moved org.bukkit.Vector to org.bukkit.util. 2011-01-15 13:43:09 -08:00
sk89q
5f997b11e8 Added Server.broadcastMessage(). 2011-01-15 13:40:19 -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
Dinnerbone
8391ecaae8 Added Sign MaterialData 2011-01-15 21:12:14 +00:00
Erik Broes
b517c3c2f1 Added Inventory.clear(|index) Inventory.remove(typeId|Material|ItemStack) 2011-01-15 21:58:57 +01:00
Erik Broes
e436bfc3d9 Fixed 3 event rename typos, cheers Master-Guy for letting me know 2011-01-15 21:58:57 +01:00
Dinnerbone
5f26f297b9 Added Button MaterialData 2011-01-15 20:58:34 +00:00
Dinnerbone
9ac91cb68e Added Lever MaterialData 2011-01-15 20:51:16 +00:00
Dinnerbone
37c1fec23f Added Ladder MaterialData 2011-01-15 20:45:24 +00:00
Dinnerbone
8708b7d76f Correctly added all MaterialData to their appropriate Material enum 2011-01-15 20:38:41 +00:00
Dinnerbone
6bca99e0a9 RedstoneWire MaterialData 2011-01-15 20:35:22 +00:00
Dinnerbone
44e58503bd RedstoneTorch MaterialData + Redstone interface 2011-01-15 20:31:00 +00:00
Dinnerbone
774f93f5ec Added Torches 2011-01-15 20:31:00 +00:00
Dinnerbone
43bca1e1fc Added Attachable MaterialData 2011-01-15 20:31:00 +00:00
Erik Broes
bbd7fffaac Events should be present tense, not paste tense. 2011-01-15 21:26:42 +01:00
Dinnerbone
711c67ea1d Changed BlockFace to match enum standards 2011-01-15 20:19:41 +00:00
Erik Broes
aefdb5e838 Added int getBlockTypeIdAt(int x, int y, int z) to World 2011-01-15 21:02:47 +01:00
Erik Broes
b8072b8a37 Global ID -> Id rename 2011-01-15 20:54:06 +01:00
Dinnerbone
ce1247aa2e Added MaterialData from BlockState 2011-01-15 19:41:18 +00:00
Dinnerbone
599a6574c7 Fixed dye colours 2011-01-15 19:41:18 +00:00
sk89q
d80345b161 Cleaned up Configuration Javadoc. 2011-01-15 02:10:08 -08:00
sk89q
34d1afbd6e JavaPlugin now loads the configuration file on load. getConfiguration() now is much cheaper to call. 2011-01-15 01:45:36 -08:00
sk89q
9a1bf38b60 Added list support to Configuration. 2011-01-15 01:44:20 -08:00
sk89q
fc63e38ea2 Plugin data folders are now no longer created by default. 2011-01-15 00:34:01 -08:00
sk89q
c944fa35af Improved the Javadoc for JavaPlugin.getConfiguration(). 2011-01-15 00:29:38 -08:00
sk89q
f8dba7655b Configuration files need to be .yml, not .yaml. 2011-01-15 00:26:32 -08:00
sk89q
5dac538034 Added Configuration.getBoolean(). 2011-01-14 23:38:53 -08:00