Commit Graph

804 Commits

Author SHA1 Message Date
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
Erik Broes
75ce030c57 Reworked BlockDamageEvent to match with the latest Mojang client/server changes. 2011-03-23 16:58:43 +01:00
Erik Broes
49976e8ef3 Add PLAYER_INTERACT, remove BLOCK_RIGHT_CLICK, BLOCK_INTERACT and PLAYER_ITEM 2011-03-23 16:58:43 +01:00
Erik Broes
ae47996105 Added PlayerBucket events 2011-03-23 16:58:43 +01:00
Erik Broes
a6a128197c Renamed many events/constants to be not past tense <-- Major Break says: "HI" 2011-03-23 16:58:26 +01:00
sunkid
422f5b616d added MaterialData classes and associated Enums for COAL, CROPS, LOG, LEAVES, STEP, and DOUBLE_STEP 2011-03-21 17:25:34 +01:00
Gunther De Wachter
35209011ed Added DamageType.VOID 2011-03-17 20:04:02 +01:00
Dinnerbone
9768ecc96b onLoad optional... 2011-03-15 11:45:11 +00:00
Dinnerbone
3d750c5440 Plugins can no longer register events while disabled 2011-03-14 15:11:43 +00:00
Dinnerbone
79f7cea622 All previous deprecated methods removed (OH GOD EVERYTHING BROKEN) 2011-03-14 15:05:46 +00:00
Raphfrk
157f9d9d9f Adds an onLoad method to Plugin. The onLoad method is called for all plugins before the onEnable calls 2011-03-14 14:46:11 +00:00
stevenh
e4217e6574 Added server methods required to support RemoteBukkit:
* getPort()
* getIP()
* getServerName()
* dispatchCommand(...)
2011-03-12 17:57:22 +00:00
stevenh
55b14b63a4 Corrected description of CommandSender.getServer() 2011-03-12 17:55:55 +00:00
stevenh
99df8e88c4 Removed unneeded string constant concat
Note: editor removed spaces on otherwise empty lines
2011-03-12 17:51:57 +00:00
Erik Broes
6ec6d91c4c Compensate for sendMessage losing its 'unintended splitting on existing newlines'-feature 2011-03-12 17:01:56 +01:00
Erik Broes
997c469513 Kill stupid encoding warnings finally 2011-03-12 14:56:56 +01:00
sk89q
e59f4f7e63 Added Player.sendRawMessage(). 2011-03-12 01:06:02 -08:00
stevenh
87bda0e219 Merge branch 'master' of github.com:Bukkit/Bukkit 2011-03-11 20:12:53 +00:00
stevenh
33db4912d5 Fixed blank yaml config files throwing a null pointer exception 2011-03-11 20:07:49 +00:00
Tahg
adeb90dc89 added methods for getting redstone power 2011-03-10 13:23:54 -05:00
Tahg
09993f1b17 Chunk hooks 2011-03-10 13:09:35 -05:00
Andrew Ardill
4d22250c3f Added LivingEntity.getEyeLocation() for getting the eyes location. 2011-03-09 19:12:10 +00:00
Dinnerbone
8a0500b596 Reverted classloader changes by 1f0d89be27, now actually works! Again! 2011-03-08 18:22:52 +00:00
Dinnerbone
abd816dad6 Don't throw commands if the plugin is disabled 2011-03-07 16:41:50 +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
1f0d89be27 Adds basic plugin dependencies, courtesy of Raphfrk 2011-03-07 14:04:00 +00:00
holic
effd3e6574 Fixed Material constructor 2011-03-07 13:22:09 +00:00
Raphfrk
1eb7c18d52 Regenerate and refresh chunk methods 2011-03-07 12:34:35 +00:00
Dinnerbone
8c23447f6f Deprecated momentum on player (remove tomorrow), added velocity 2011-03-05 18:48:32 +00:00
VictorD
cd490d826b 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
86344ad44e Added entity.get/setMomentum 2011-03-04 14:24:09 +00:00
Dinnerbone
773cb27db1 You shouldn't be here, little method. We already have a getData. 2011-03-04 14:10:55 +00:00
Erik Broes
f16f65f424 Small change for CraftBukkit BlockFlowing fix 2011-03-02 21:23:37 +01:00
Morgan Humes
8cc401cf8e Add World.save() and Server.savePlayers(); 2011-03-02 16:47:43 +01:00
Erik Broes
010cfd1781 Java 1.5 compat. 2011-03-02 15:23:15 +01:00
SpeaKeasY
187ec75d65 Added method to set spawn location 2011-03-01 10:43:22 +01:00
Tanel Suurhans
b1ad39abc5 Added World.getPlayers 2011-02-28 16:37:21 +00:00
Dinnerbone
084ff83fae command.set/getDescription replaces a now deprecated set/getTooltip + javadocs 2011-02-28 11:42:09 +00:00
Dinnerbone
82c1a41aa6 PluginCommand getExecutor + javadocs 2011-02-28 10:35:58 +00:00
Dinnerbone
e8519fc347 Added JavaPlugin.getCommand 2011-02-28 01:35:03 +00:00
Dinnerbone
94732c7195 Added Server.getPluginCommand 2011-02-28 00:57:32 +00:00
Dinnerbone
11b94ea17f Case-insensitive commands 2011-02-28 00:52:43 +00:00
Dinnerbone
adcb291d05 Readded default onCommand on plugins 2011-02-28 00:45:44 +00:00
Dinnerbone
4fa84d995c 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
caa5cc9325 Added PlayerChatEvent.getRecipients 2011-02-26 19:31:13 +00:00
Dinnerbone
dc313db919 Removed onPlayerCommand (PLAYER_COMMAND) (and fixed Fillr to stop using it) 2011-02-26 19:09:57 +00:00
Raphfrk
b98b082ea3 small change 2011-02-27 01:22:24 +08:00
Dinnerbone
72e3c06651 No longer supporting the TSLPC (inb4pitchforks) 2011-02-25 22:01:21 +00:00
Dinnerbone
c6b31f29ec onPluginEnabled after plugin is enabled + same for onPluginDisabled 2011-02-25 12:54:08 +00:00