Commit Graph

1221 Commits

Author SHA1 Message Date
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
sk89q
0373fe9fdc Added configuration and plugin data directory support to plugins. 2011-01-14 23:38:53 -08:00
sk89q
b99e2d8982 Added basic configuration classes. 2011-01-14 23:38:52 -08:00
speakeasy
df1a56c3a3 Added kick player. 2011-01-15 12:27:25 +08:00
Dinnerbone
773c7dc489 Infinite loops are like infinite loops which are like infinite loops which *bang* 2011-01-14 14:43:14 +00:00
Dinnerbone
2b64812a70 Added Wool + Dyes 2011-01-14 00:20:00 +00:00
Dinnerbone
4ccb655047 Added MaterialData 2011-01-14 00:00:54 +00:00
Dinnerbone
a61ae767f3 New materials, changed material names per style guidelines + correct names 2011-01-13 23:33:51 +00:00