1023 Commits

Author SHA1 Message Date
Zeerix
f0f593c956 [Bleeding] Cleanup of exceptions org.bukkit.plugin.Invalid*
Removed throwable and message, because the superclass already stores them
Added message of inner exception to the outer exception to make the first line of the stacktrace more verbose
2012-02-13 01:05:18 -05:00
mushroomhostage
a1a3f7ffba Allow cloning ItemStacks with unsafe enchantments. Fixes BUKKIT-621
Prevents "IllegalArgumentException: Specified enchantment cannot be applied to this itemstack").
2012-02-13 00:46:34 -05:00
Travis Watkins
e675ff791d Fixed typos and add usage message to timings command. 2012-02-10 18:19:58 -05:00
fullwall
d99c95f6d1 [Bleeding] Added Potions API. Fixes BUKKIT-389 2012-02-10 17:26:38 -05:00
EvilSeph
ec01da91bb Added configurable animal and monster ticks per spawn setting. 2012-02-10 12:52:41 -05:00
EvilSeph
5c7edcf439 Added JOCKEY and CHUNK_GEN SpawnReasons. 2012-02-10 07:17:03 -05:00
Feildmaster
7df6a7e864 [Bleeding] setLastDamageCaused to ComplexEntityPart parent. 2012-02-09 19:52:53 -05:00
md_5
6efe9a85e5 [Bleeding] Add the ability for plugins to ignore cancelled events when
using the new event system.
2012-02-09 15:51:56 -05:00
Aidan Matzko
db15c58e31 [Bleeding] Deprecate Enderman events in favor of EntityChangeBlock 2012-02-09 11:32:12 -05:00
Wesley Wolfe
465818ef42 [Bleeding] Implemented customizable permission messages. 2012-02-09 04:02:11 -05:00
Meaglin
73a1c47854 Properly unregister plugin channels when a plugin gets disabled. 2012-02-09 03:49:51 -05:00
craftycreeper
4272a879f9 Added EntityTeleportEvent. Fixes BUKKIT-366 2012-02-09 03:20:08 -05:00
EvilSeph
d9ed0a0d33 Added SpawnReason.BUILD_SNOWMAN. 2012-02-08 18:27:49 -05:00
EvilSeph
f04e388d46 Added RegainReason.ENDER_CRYSTAL. 2012-02-08 10:54:30 -05:00
EvilSeph
2c37ce1367 setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion.
2012-02-05 02:01:11 -05:00
EvilSeph
ef1c779ff5 Added Spawner Egg support to CreatureSpawnEvent. 2012-02-05 01:54:27 -05:00
Travis Watkins
5e6125e01b [Bleeding] Added Vanish API for hiding players from each other.
Adds Player.hidePlayer, Player.showPlayer, and Player.canSee for managing
what players are hidden from a player. When someone is hidden from a player
the player cannot see them in the user list or /list and they cannot /tell
them so they appear to be completely gone from the server.
2012-02-03 03:32:21 -05:00
Jeremy Wood
8d2637ee0d Added entity type IDs as per vanilla spec. 2012-02-03 02:07:05 -05:00
starrynte
687710c2a1 Fixed casting in ItemStack.deserialize. 2012-02-03 01:54:00 -05:00
Nathan Adams
088762d67e onEnable and onDisable are no longer required implementations for JavaPlugins 2012-02-01 01:53:56 +00:00
EvilSeph
e93714634b Fixed comment from earlier commit. 2012-01-29 13:10:51 -05:00
Eric Stokes
67301a1d29 Added 'generate-structure' setting support and WorldCreator property.
Fixes BUKKIT-655 and BUKKIT-592
2012-01-29 13:06:23 -05:00
EvilSeph
b4713855e2 Added useExactLoginLocation(). Closes BUKKIT-145
useExactLoginLocation() looks for settings.use-exact-login-location within bukkit.yml.

If true, we will bypass Vanilla's behaviour of checking for collisions and moving the player if needed when they login.

If false, we will continue to follow Vanilla's behaviour and move players that 'collide' with objects when they login.
2012-01-29 12:31:59 -05:00
Erik Broes
839d00f9d6 Add some testing 2012-01-29 11:17:44 +01:00
EvilSeph
76dc09be3c Cleanup. 2012-01-27 18:23:27 -05:00
EvilSeph
d7469ca79e Fixed plugin loader. Thanks Wolvereness! 2012-01-25 04:11:37 -05:00
EvilSeph
a31f506e25 Adhere to naming conventions. 2012-01-25 02:10:02 -05:00
EvilSeph
66ffbbf1c5 This will be re-added after the RB. 2012-01-25 02:08:00 -05:00
Mike Primm
65e4d888c1 [Bleeding] Added EnchantmentTable API. 2012-01-24 06:13:48 -05:00
Zeerix
b516d3bf78 [Bleeding] Added PotionSplashEvent for splash potions. Closes BUKKIT-307 2012-01-24 02:11:38 -05:00
EvilSeph
8d19709c5a Added spacing to BanListCommand output. 2012-01-23 20:30:21 -05:00
Aidan Matzko
26a6a1edf4 [Bleeding] Added Sheep, Shear and EntityChangeBlock API. Thanks tips48! Closes BUKKIT-512 2012-01-23 18:57:37 -05:00
Tahg
468d45b761 Updated timing code for new event system 2012-01-19 18:41:04 -05:00
Nathan Adams
92bbf8957c Added new PlayerExpChangeEvent and PlayerLevelChangeEvent events. Thanks to feildmaster for the PR. 2012-01-19 16:07:03 +00:00
Nathan Adams
c29a93a8c1 Player.setPlayerListName no longer ignores colour length in size limit. This relates to BUKKIT-571 2012-01-19 15:10:14 +00:00
Erik Broes
257e35d51c Use the type of the eventhandler method's parameter as type rather than specificing it. Thanks zml2008. 2012-01-19 08:13:49 +01:00
zml2008
81dc1c0a52 Added a default to EventHandler.priority()
Fixed HandlerList.unregisterAll()
Fixed incorrect isAssignableFrom check in SimplePluginManager.getRegistrationClass()
2012-01-18 14:46:15 +01:00
Erik Broes
95e3f07b69 Add Player.setBedSpawnLocation(Location). Thanks md_5 2012-01-17 22:43:16 +01:00
Erik Broes
e542942d45 Minor cleanup 2012-01-17 19:51:27 +01:00
Erik Broes
8874b94185 [Bleeding] Added EntityShootBowEvent. Thanks Zeerix. 2012-01-17 19:51:11 +01:00
Erik Broes
c2e82a68c1 [Bleeding] Add BrewingStand API. Thanks N3X15 & md_5 2012-01-17 19:50:23 +01:00
Zeerix
418d18831c [Bleeding] Added DamageCause.POISON/MAGIC and RegainReason.MAGIC/MAGIC_REGEN for potions 2012-01-17 19:49:06 +01:00
Zeerix
d384da1e7c [Bleeding] Added Block.breakNaturally and Block.getDrops 2012-01-17 19:48:36 +01:00
Nathan Adams
86f33b82c9 [Bleeding] Changed event system into a new, much faster design. Huge thanks to @zml2008 & @lahwran. 2012-01-17 19:46:22 +01:00
Mike Primm
64a8e06102 [Bleeding] Added Block.getLightFromSky and getLightFromBlocks 2012-01-17 19:45:47 +01:00
rmichela
5ca940b907 [Bleeding] Added Plugin.getLogger() which returns a java.util.Logger that prefixes messages with the plugin name.
Note: the server when enabling or disabling a plugin will now by default log this.
2012-01-17 19:45:36 +01:00
Mike Primm
b52aa71501 [Bleeding] Added: <T extends Entity> Collection<T> World.getEntitiesByClass(Class<T>... classes) 2012-01-17 19:44:41 +01:00
Erik Broes
ef63530432 [Bleeding] Add Animals: setAgeLock(bool), bool getAgeLock, void setBaby, void setAdult, void setBreed(bool), bool canBreed and bool isAdult. 2012-01-17 19:44:18 +01:00
Nathan Adams
f73a9bac8f Fixed incorrect value for ChatColor.BLACK (was 1, should be 0) 2012-01-16 19:49:16 +00:00
Nathan Adams
ed34f17ddf Added ChatColor.MAGIC, changed to char based values and deprecated old methods. Added unit tests for ChatColor 2012-01-16 19:38:08 +00:00