Commit Graph

309 Commits

Author SHA1 Message Date
Dinnerbone
9732b43b5a Changed ConsoleCommandSender to use stripColor instead of hardcoded 2011-02-23 11:44:12 +00:00
Dinnerbone
f5b1063a93 Added ChatColor.stripColor 2011-02-23 11:43:40 +00:00
Dinnerbone
dbdf8afede ConsoleCommandSender no longer has a default constructor, use ConsoleCommandSender(server). Added entity.getServer 2011-02-23 11:33:03 +00:00
Dinnerbone
e5dcfd2f73 ... And fixed diodes 2011-02-23 03:18:08 +00:00
Dinnerbone
c5eb65b458 Fixed bed items crashing 2011-02-23 03:12:44 +00:00
Dinnerbone
987a5c43bc Added new materials 2011-02-23 02:45:19 +00:00
Tahg
d82679b8c7 refactor Items 2011-02-21 19:57:06 -05:00
Andrew Ardill
3626a877ce 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
112a04a08c added yield to explosions 2011-02-19 23:36:59 -05:00
Dinnerbone
18e2a4de26 Updating plugin nags to use logger 2011-02-20 02:29:12 +00:00
Dinnerbone
f115161578 Added Server.getLogger, changed a few anonymous loggers to use it 2011-02-20 02:27:31 +00:00
sk89q
03f4e0ec22 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
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
Dinnerbone
0a722adaa2 And this is so that we don't have to support misbehaving plugins. 2011-02-20 00:47:21 +00:00
Dinnerbone
9739370fe2 ... 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
3197313378 Removed TSLPC (That Stupidly Long Plugin Constructor) 2011-02-20 00:13:25 +00:00
Dinnerbone
9640bc8ec3 Replaced Vector.hashCode with a more reliable method 2011-02-19 23:11:56 +00:00
Dinnerbone
c30e505151 (Relatively) minor javadoc cleanup 2011-02-19 22:49:55 +00:00
Dinnerbone
115d1cb30e Fixed event priorities 2011-02-19 20:43:35 +00:00
Dinnerbone
adcf330eb2 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
f3959ebf6b When deprecating, the alternative should be provided. 2011-02-19 06:00:55 -05:00
EvilSeph
25271d9126 We need to set cmdSuccess accordingly. 2011-02-18 21:30:19 -05: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
Dinnerbone
024db76644 Added a whole buncha overloads for Location in World 2011-02-18 16:34:49 +00:00
Dinnerbone
46f699e4c9 Location.getBlock() helper method 2011-02-18 16:28:42 +00:00
Dinnerbone
efd55fbbe5 Exception handling in commands 2011-02-18 16:25:06 +00:00
Andrew Ardill
b82af8b847 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
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
56e06ccdcb 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
040c0c74b2 Deprecated PlayerListener.onPlayerCommand(PlayerChatEvent event). 2011-02-16 21:47:05 -08:00
sk89q
e623b66c12 Added Player.chat(). 2011-02-16 21:47:04 -08:00
ss2man44
6c06199f44 Added CREATURE_SPAWN event 2011-02-16 22:28:44 -05:00
Andrew Ardill
2157432628 add function isCurrentlyRunning(int taskId);
returns if the given task is currently running.
2011-02-17 13:26:20 +11:00
Raphfrk
0e7b5534b6 Allows calling of functions in the main thread 2011-02-13 22:05:06 -05: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
Timberjaw
fc8d087522 Added getPlayer method to SignChangeEvent 2011-02-12 14:49:49 -05:00
Erik Broes
63e6ef4b5e Windows and executable, should be 0644 2011-02-12 16:16:14 +01:00
EvilSeph
a0b6267236 Exposes recently added PLAYER_PICKUP_ITEM event. 2011-02-12 07:58:03 -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
culturespy
400b4a9fd5 Added EXPLOSION_PRIMED event. 2011-02-12 02:47:27 -05:00
Simon Rigby
a2c09b07af Adds removeProperty(String path) and getEmptyNode() 2011-02-11 21:26:33 -05:00
Timberjaw
d3cebcfb5a Added SIGN_CHANGE event. 2011-02-11 20:34:02 -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
James Logsdon
4e4bd13ae0 Adding PLAYER_PICKUP_ITEM event 2011-02-12 01:39:44 +01:00
James Logsdon
8b88ff29bc Cleaning up PlayerDropItemEvent 2011-02-12 01:39:44 +01:00
James Logsdon
d75512a33f Adding EntityDamageEvent.setDamage() 2011-02-11 19:16:44 -05:00
Tal Eisenberg
1bb1788309 Fixed Button/Lever, using a logical AND instead of XOR to get 3 face bits 2011-02-12 00:19:59 +01:00
Dinnerbone
ea17e4070c PlayerChatEvent.setFormat validation 2011-02-09 19:08:45 +00:00