22 Commits

Author SHA1 Message Date
EvilSeph
ae628136a7 Exposes the recently added updateInventory method.
We've decided to expose updateInventory as a temporary work-around for
 the inventory not updating issue we're aware of. The reasoning behind
 this is that addressing it properly will take some time and work and
 as this is clearly a roadblock for some plugin authors, the delay is
 not really acceptable.
2011-02-13 00:36:38 -05:00
afforess
18bbb73cd0 Added MaxSpeed methods to minecards. Added MaxSpeed methods to boats. Added SlowWhenEmpty, FlyingMod, and DerailedMod methods to minecarts.
Signed-off-by: afforess <afforess@gmail.com>
2011-02-12 03:18:29 -05:00
Andrew Ardill
7e5e89b744 Added Colorable interface, and made Sheep, Wool and Dye implement it.
Inspired by xpansive
2011-02-12 12:28:38 +11:00
Dinnerbone
f35b3e98f9 Added Creature.getTarget 2011-02-09 13:44:57 +00:00
James Logsdon
3f60ba1f91 Adding Creature.setTarget() per jlogsdon 2011-02-09 13:17:31 +00:00
Alexander Hesse
6ba990ecfd Added Sneaking Event 2011-02-08 17:09:11 +01:00
Erik Broes
01988e8f6b General cleanup (deprecated+whitespace) 2011-02-02 00:28:41 +01:00
Dinnerbone
3a1f5647e6 Added setItemStack(ItemStack stack) to ItemDrop 2011-02-01 10:43:31 +00:00
Dinnerbone
c6d4cbda5d Added getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity 2011-01-31 01:23:21 +00:00
stevenh
39c4a5a2e9 merge with head 2011-01-29 17:18:32 +00:00
stevenh
a89a96416b Refactored event calling so its front loading avoiding the lookup for each event call.
This now uses an annoymous class implementing IExecutor that facilitates direct event method handler calling

Changed commands from being executed exclusively by a player to by a CommandSender to facilitate external command callers such as rcon

Fixed CustomEventListener

Merged in additional events

Added getFullName to PluginDescriptionFile which returns the combination of Name and Version

There's also a few bits of reformatting as it seems someones been editing with either tabs or dos eol :(
2011-01-29 16:23:56 +00:00
Dinnerbone
fb5ab3b5d6 Added player.performCommand(String) 2011-01-28 09:15:43 +00:00
sk89q
9a6bdd039d Added squid as a valid mob type. 2011-01-23 13:16:57 -08:00
sk89q
1f63ea78bb Added full tile entity data support for all block types that use it, including chests, dispensers, furnaces, mob spawners, and note blocks. 2011-01-23 00:37:36 -08:00
sk89q
c036295d7f Added compass setting methods. 2011-01-20 02:10:35 -08:00
Tahg
0a2f2c7b45 added isOp api 2011-01-18 22:32:05 -05: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
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
757fc26e4a Added item-in-hand related API. 2011-01-15 19:33:19 -08:00
sk89q
3fd9f09e01 Moved org.bukkit.Vector to org.bukkit.util. 2011-01-15 13:43:09 -08: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