1139 Commits

Author SHA1 Message Date
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
Erik Broes
98c8f57996 Added int getBlockTypeIdAt(int x, int y, int z) to World 2011-01-15 21:02:47 +01:00
Erik Broes
7754b08893 Global ID -> Id rename 2011-01-15 20:54:06 +01:00
Dinnerbone
c25b2984b5 Added MaterialData from BlockState 2011-01-15 19:41:18 +00:00
Dinnerbone
e5bff5a0d0 Fixed dye colours 2011-01-15 19:41:18 +00:00
sk89q
b9ada69ddb Cleaned up Configuration Javadoc. 2011-01-15 02:10:08 -08:00
sk89q
93f49248ac JavaPlugin now loads the configuration file on load. getConfiguration() now is much cheaper to call. 2011-01-15 01:45:36 -08:00
sk89q
b8c2380087 Added list support to Configuration. 2011-01-15 01:44:20 -08:00
sk89q
262d0ddad6 Plugin data folders are now no longer created by default. 2011-01-15 00:34:01 -08:00
sk89q
d8bf59f639 Improved the Javadoc for JavaPlugin.getConfiguration(). 2011-01-15 00:29:38 -08:00
sk89q
79a3d54eef Configuration files need to be .yml, not .yaml. 2011-01-15 00:26:32 -08:00
sk89q
f3d7e390ae Added Configuration.getBoolean(). 2011-01-14 23:38:53 -08:00
sk89q
a9f9c6e6c2 Added configuration and plugin data directory support to plugins. 2011-01-14 23:38:53 -08:00
sk89q
b0ff9bb992 Added basic configuration classes. 2011-01-14 23:38:52 -08:00
speakeasy
01988e9fdc Added kick player. 2011-01-15 12:27:25 +08:00
Dinnerbone
30a8e66282 Infinite loops are like infinite loops which are like infinite loops which *bang* 2011-01-14 14:43:14 +00:00
Dinnerbone
1ca85f783c Added Wool + Dyes 2011-01-14 00:20:00 +00:00
Dinnerbone
d30ab0a928 Added MaterialData 2011-01-14 00:00:54 +00:00