Commit Graph

589 Commits

Author SHA1 Message Date
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
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
Dinnerbone
be485d43ee Added event for when a world is saved (EyvindRM) 2011-02-09 12:57:48 +00:00
Alexander Hesse
1204340b96 Added Sneaking Event 2011-02-08 17:09:11 +01:00
Dinnerbone
e95f99802d Added loadChunk, unloadChunk and unloadChunkRequest. 2011-02-08 14:29:52 +00:00
Dinnerbone
5cb0b743b2 Just breaking some redstone plugins, don't mind me 2011-02-08 12:53:30 +00:00
Dinnerbone
a435cae101 New event WORLD_LOADED 2011-02-08 12:06:34 +00:00
Dinnerbone
590834894c Added Server.getWorld(), Server.createWorld() now checks this to avoid duplication 2011-02-08 11:58:28 +00:00
EvilSeph
48739b8592 Commands should not be case-sensitive. 2011-02-06 21:56:38 -05:00
Dinnerbone
914774e0d9 Added World.Environment enum, changed createWorld to use it 2011-02-07 01:56:38 +00:00
Dinnerbone
672bb9cd60 Changed getWorlds to List, and added createWorld 2011-02-07 01:56:38 +00:00
Raphfrk
83d2d304ba Scheduler 2011-02-07 01:06:20 +01:00
Animosity
e7b3e77e2d Adds suppport for node lists. Tested and verified in CraftIRC 2011-02-07 03:26:51 +08:00
Erik Broes
78d8a9729a Deprecate BlockRightClickEvent.getBlockAgainst - use BlockRightClickEvent.getBlock 2011-02-06 14:49:08 +01:00
Erik Broes
3ee6689356 Add Server.getMaxPlayers 2011-02-06 13:40:31 +01:00
Forsaken
836dc323d6 Added PlayerKick (setReason, setLeaveMessage, setCancelled) and PlayerRespawn (setLocation) 2011-02-06 12:13:18 +01:00
sk89q
8b9541be53 Added BlockVector a la WorldEdit as requested by #246. This BlockVector is safe to be used as keys in hash sets and hash maps, but it is mutable and careful attention must be paid to not modify the vector post-insertion into a set or map. 2011-02-05 23:20:06 -08:00