649 Commits

Author SHA1 Message Date
Dinnerbone
ac7c369966 Deprecated momentum on player (remove tomorrow), added velocity 2011-03-05 18:48:32 +00:00
VictorD
aa0614d785 Added a few null pointer checks and performed minor touchups (tried improving a few equals, clone and hashCode methods). 2011-03-05 12:27:51 +01:00
Dinnerbone
97d2adb536 Added entity.get/setMomentum 2011-03-04 14:24:09 +00:00
Dinnerbone
6f07fa7291 You shouldn't be here, little method. We already have a getData. 2011-03-04 14:10:55 +00:00
Erik Broes
4b1688f4da Small change for CraftBukkit BlockFlowing fix 2011-03-02 21:23:37 +01:00
Morgan Humes
cb66f868b4 Add World.save() and Server.savePlayers(); 2011-03-02 16:47:43 +01:00
Erik Broes
c383d1f385 Java 1.5 compat. 2011-03-02 15:23:15 +01:00
SpeaKeasY
42d4daddde Added method to set spawn location 2011-03-01 10:43:22 +01:00
Tanel Suurhans
f03df70557 Added World.getPlayers 2011-02-28 16:37:21 +00:00
Dinnerbone
0f95f3063a command.set/getDescription replaces a now deprecated set/getTooltip + javadocs 2011-02-28 11:42:09 +00:00
Dinnerbone
2ca3d148cc PluginCommand getExecutor + javadocs 2011-02-28 10:35:58 +00:00
Dinnerbone
2b1dc975f1 Added JavaPlugin.getCommand 2011-02-28 01:35:03 +00:00
Dinnerbone
f2d19008c9 Added Server.getPluginCommand 2011-02-28 00:57:32 +00:00
Dinnerbone
a27b2703dd Case-insensitive commands 2011-02-28 00:52:43 +00:00
Dinnerbone
2d7d0d9bdd Readded default onCommand on plugins 2011-02-28 00:45:44 +00:00
Dinnerbone
95d92e406e Tweaks to command system to allow setting executors via plugins (no more ambiguous onCommand in plugins) 2011-02-28 00:30:59 +00:00
Dinnerbone
27b680375f Added PlayerChatEvent.getRecipients 2011-02-26 19:31:13 +00:00
Dinnerbone
72e6769d68 Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it) 2011-02-26 19:09:57 +00:00
Raphfrk
b53769f088 small change 2011-02-27 01:22:24 +08:00
Dinnerbone
1dac795bf1 No longer supporting the TSLPC (inb4pitchforks) 2011-02-25 22:01:21 +00:00
Dinnerbone
a647006042 onPluginEnabled after plugin is enabled + same for onPluginDisabled 2011-02-25 12:54:08 +00:00
Dinnerbone
bb4c973ada Added easy locToBlock in Location 2011-02-25 09:51:52 +00:00
sk89q
a69e19a9f7 Added Item.(get|set)ItemStack(). 2011-02-23 10:03:33 -08:00
Dinnerbone
fb30fd5fad Changed ConsoleCommandSender to use stripColor instead of hardcoded 2011-02-23 11:44:12 +00:00
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