Commit Graph

40 Commits

Author SHA1 Message Date
Erik Broes
1501d97a89 Long overdue LivingEntity maximumNoDamageTicks, noDamageTicks, lastDamage 2011-03-24 00:31:59 +01:00
Byron Shelden
bf7692c8aa Replaced void teleportTo(Location) with boolean teleport(Location).
- The return value indicates if the teleport was successful.
 - void teleportTo(...) should delegate to the new teleport(...).
2011-03-23 18:38:48 +01:00
Dinnerbone
79f7cea622 All previous deprecated methods removed (OH GOD EVERYTHING BROKEN) 2011-03-14 15:05:46 +00:00
sk89q
e59f4f7e63 Added Player.sendRawMessage(). 2011-03-12 01:06:02 -08:00
Andrew Ardill
4d22250c3f Added LivingEntity.getEyeLocation() for getting the eyes location. 2011-03-09 19:12:10 +00:00
Dinnerbone
9da67772a8 Purged deprecated MobType and MobSpawner 2011-03-07 16:29:03 +00:00
Forsaken
9e5ec989ad Added damage(int) and damage(int, Entity) for LivingEntity 2011-03-07 16:01:57 +00:00
Dinnerbone
8c23447f6f Deprecated momentum on player (remove tomorrow), added velocity 2011-03-05 18:48:32 +00:00
Dinnerbone
86344ad44e Added entity.get/setMomentum 2011-03-04 14:24:09 +00:00
sk89q
21c2166f6c Added Item.(get|set)ItemStack(). 2011-02-23 10:03:33 -08:00
Dinnerbone
dbdf8afede ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer 2011-02-23 11:33:03 +00:00
Tahg
d82679b8c7 refactor Items 2011-02-21 19:57:06 -05:00
sk89q
0558646377 Added Entity.remove() which marks an entity for removal. 2011-02-19 17:47:48 -08:00
sk89q
fbfa048463 Added slime as a possible creature type. 2011-02-19 17:47:47 -08:00
Raphfrk
c6d4b1c3c6 Added target block ray trace functionality. 2011-02-18 20:47:59 -05:00
Protected
993fcb2895 Added setFireTicks(), getFireTicks() and getMaxFireTicks(). 2011-02-18 17:34:58 -05:00
Andrew Ardill
60315ab8ec Renamed MobType->CreatureType and MobSpawner->CreatureSpawner.
This is to bring the names in line with the rest of bukkit.

Deprecated code has been left in to ensure nothing breaks as
a result of refactoring MobType.
This will be removed after 1 week, to give plugin devs time to
migrate
2011-02-17 18:01:25 +11:00
sk89q
e623b66c12 Added Player.chat(). 2011-02-16 21:47:04 -08:00
EvilSeph
9918b231c8 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
54b6bf0f68 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
8f4ce6f130 Added Colorable interface, and made Sheep, Wool and Dye implement it.
Inspired by xpansive
2011-02-12 12:28:38 +11:00
Dinnerbone
bd14eac593 Added Creature.getTarget 2011-02-09 13:44:57 +00:00
James Logsdon
14f93e5066 Adding Creature.setTarget() per jlogsdon 2011-02-09 13:17:31 +00:00
Alexander Hesse
1204340b96 Added Sneaking Event 2011-02-08 17:09:11 +01:00
Erik Broes
8039c05c9f General cleanup (deprecated+whitespace) 2011-02-02 00:28:41 +01:00
Dinnerbone
f9124f89b7 Added setItemStack(ItemStack stack) to ItemDrop 2011-02-01 10:43:31 +00:00
Dinnerbone
888ef8faf4 Added getRemainingAir/setRemainingAir/getMaximumAir/setMaximumAir on LivingEntity 2011-01-31 01:23:21 +00:00
stevenh
0814239f31 merge with head 2011-01-29 17:18:32 +00:00
stevenh
cc404ced12 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
7989fe0a20 Added player.performCommand(String) 2011-01-28 09:15:43 +00:00
sk89q
4bab50f80d Added squid as a valid mob type. 2011-01-23 13:16:57 -08:00
sk89q
7488cd29fa 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
f17a819075 Added compass setting methods. 2011-01-20 02:10:35 -08:00
Tahg
31ab0c9351 added isOp api 2011-01-18 22:32:05 -05: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
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
68b8c805a6 Added item-in-hand related API. 2011-01-15 19:33:19 -08:00
sk89q
e444bad7da Moved org.bukkit.Vector to org.bukkit.util. 2011-01-15 13:43:09 -08: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