408 Commits

Author SHA1 Message Date
Dinnerbone
0e0a76625b Added ChatColor.stripColor 2011-02-23 11:43:40 +00:00
Dinnerbone
86aa75c3b5 ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer 2011-02-23 11:33:03 +00:00
Dinnerbone
090e066c27 ... And fixed diodes 2011-02-23 03:18:08 +00:00
Dinnerbone
f11b0d5932 Fixed bed items crashing 2011-02-23 03:12:44 +00:00
Dinnerbone
50d26af740 Added new materials 2011-02-23 02:45:19 +00:00
Tahg
dbab772ca8 refactor Items 2011-02-21 19:57:06 -05:00
Andrew Ardill
b93f044983 add isQueued() to allow plugins to know a task is still in the queue.
Currently, there is no way to know if a task is still being handled by
the scheduler. This method, along with isCurrentlyRunning() allows a
plugin author to determine if a task is waiting to be executed, being
executed, or neither.
2011-02-21 12:33:40 +11:00
Tahg
b2847fdf8c added yield to explosions 2011-02-19 23:36:59 -05:00
Dinnerbone
414a19e247 Updating plugin nags to use logger 2011-02-20 02:29:12 +00:00
Dinnerbone
3c1255da0c Added Server.getLogger, changed a few anonymous loggers to use it 2011-02-20 02:27:31 +00:00
sk89q
e529e44d86 Lowered the priority of the old command handler event because a number of plugins were using this event incorrectly. A new event, the command preprocesser event, has replaced the previous function of the original command event. 2011-02-19 17:47:49 -08:00
sk89q
5e7a59167d Added Entity.remove() which marks an entity for removal. 2011-02-19 17:47:48 -08:00
sk89q
eaddcfc675 Added slime as a possible creature type. 2011-02-19 17:47:47 -08:00
Dinnerbone
bc8134c7a1 And this is so that we don't have to support misbehaving plugins. 2011-02-20 00:47:21 +00:00
Dinnerbone
346de2a934 ... Supporting the plugins which really shouldn't be doing what they're doing. Don't put crap in the constructor! 2011-02-20 00:43:06 +00:00
Dinnerbone
1a2c154145 Removed TSLPC (That Stupidly Long Plugin Constructor) 2011-02-20 00:13:25 +00:00
Dinnerbone
e5db796188 Replaced Vector.hashCode with a more reliable method 2011-02-19 23:11:56 +00:00
Dinnerbone
3f971e42eb (Relatively) minor javadoc cleanup 2011-02-19 22:49:55 +00:00
Dinnerbone
eb7d3710e1 Fixed event priorities 2011-02-19 20:43:35 +00:00
Dinnerbone
361d8f2b9f Shifting damage events per http://forums.bukkit.org/threads/oops-i-broke-your-plugins.599/#post-67424 (This breaks stuff!) 2011-02-19 17:08:14 +00:00
EvilSeph
050f21b2f0 When deprecating, the alternative should be provided. 2011-02-19 06:00:55 -05:00
EvilSeph
a748069eb3 We need to set cmdSuccess accordingly. 2011-02-18 21:30:19 -05:00
Raphfrk
52954911bd Added target block ray trace functionality. 2011-02-18 20:47:59 -05:00
Protected
85a4bbce35 Added setFireTicks(), getFireTicks() and getMaxFireTicks(). 2011-02-18 17:34:58 -05:00
Dinnerbone
31f67329ce Added a whole buncha overloads for Location in World 2011-02-18 16:34:49 +00:00
Dinnerbone
1e94bb16f5 Location.getBlock() helper method 2011-02-18 16:28:42 +00:00
Dinnerbone
2188275a00 Exception handling in commands 2011-02-18 16:25:06 +00:00
Andrew Ardill
64e82042a6 Added spawnCreature(Location, CreatureType)
This function will allow spawning of creatures in the world, removing
the need to interface with CraftBukkit directly.
2011-02-17 18:02:12 +11:00
Andrew Ardill
ac68b8594e 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
42def68966 Fixed alias parsing for commands. object.toString().split(",") is NOT how you parse a YAML list! 2011-02-16 21:47:05 -08:00
sk89q
69d3880730 Deprecated PlayerListener.onPlayerCommand(PlayerChatEvent event). 2011-02-16 21:47:05 -08:00
sk89q
eb150b642f Added Player.chat(). 2011-02-16 21:47:04 -08:00
ss2man44
93f6e5191e Added CREATURE_SPAWN event 2011-02-16 22:28:44 -05:00
Andrew Ardill
e345a982eb add function isCurrentlyRunning(int taskId);
returns if the given task is currently running.
2011-02-17 13:26:20 +11:00
Raphfrk
a4cca21350 Allows calling of functions in the main thread 2011-02-13 22:05:06 -05:00
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
Timberjaw
524515cb83 Added getPlayer method to SignChangeEvent 2011-02-12 14:49:49 -05:00
Erik Broes
0f93997077 Windows and executable, should be 0644 2011-02-12 16:16:14 +01:00
EvilSeph
c2020def62 Exposes recently added PLAYER_PICKUP_ITEM event. 2011-02-12 07:58:03 -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
culturespy
01ca4cc35b Added EXPLOSION_PRIMED event. 2011-02-12 02:47:27 -05:00
Simon Rigby
5d60a1bc48 Adds removeProperty(String path) and getEmptyNode() 2011-02-11 21:26:33 -05:00
Timberjaw
3cc8c0dae0 Added SIGN_CHANGE event. 2011-02-11 20:34:02 -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
James Logsdon
164b687bcd Adding PLAYER_PICKUP_ITEM event 2011-02-12 01:39:44 +01:00
James Logsdon
6c86db411c Cleaning up PlayerDropItemEvent 2011-02-12 01:39:44 +01:00
James Logsdon
49ced27311 Adding EntityDamageEvent.setDamage() 2011-02-11 19:16:44 -05:00
Tal Eisenberg
c36a98db64 Fixed Button/Lever, using a logical AND instead of XOR to get 3 face bits 2011-02-12 00:19:59 +01:00
Dinnerbone
e44bb33109 PlayerChatEvent.setFormat validation 2011-02-09 19:08:45 +00:00
Dinnerbone
f35b3e98f9 Added Creature.getTarget 2011-02-09 13:44:57 +00:00