Commit graph

975 commits

Author SHA1 Message Date
Bukkit/Spigot
716821eebc [Bleeding] Add ability for the Potion class to represent no-effect
potions. Addresses BUKKIT-817

- Potion's type can be null
- Add Potion.setType()
- New Potion constructors which do not take a PotionType parameter
- Potion constructor chainers splash() and extend() added
- Add PotionType.getMaxLevel() and PotionType.isInstant()
- Add PotionType.WATER which is a very special case
- Make PotionType.getDamageValue() public

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-24 23:18:13 -05:00
Bukkit/Spigot
eb66333089 [Bleeding] Deprecate the pointless Potion.Tier enum in favour of a numeric level. Addresses BUKKIT-818
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-24 23:17:36 -05:00
Bukkit/Spigot
0e6ed242be Updated README.md with more coding and pull request conventions and tips to get your pull request accepted.
By: EvilSeph <evilseph@gmail.com>
2012-02-24 00:08:31 -05:00
Bukkit/Spigot
2f03671311 [Bleeding] Fixed EntityType errors. Fixes BUKKIT-800
By: Feildmaster <admin@feildmaster.com>
2012-02-23 14:13:33 -06:00
Bukkit/Spigot
80e59821f3 [Bleeding] Fix deserialization for unsafe enchantments. Fixes BUKKIT-793
By: Wesley Wolfe <weswolf@aol.com>
2012-02-23 02:23:05 -06:00
Bukkit/Spigot
7046df03bc [Bleeding] Added launchProjectile.
Use launchProjectile in place of individual throwSnowball, throwEgg, and shootArrow methods

By: aPunch <alexpuncochar@yahoo.com>
2012-02-16 15:14:12 -06:00
Bukkit/Spigot
6e054ddf7f [Bleeding] Added EntityType to replace CreatureType.
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-14 23:52:38 -05:00
Bukkit/Spigot
c6050ff89d [Bleeding] Added BlockGrowEvent. Addresses BUKKIT-104
By: Feildmaster <admin@feildmaster.com>
2012-02-11 23:09:10 -06:00
Bukkit/Spigot
2a1eddc441 [Bleeding] getHandlers() is now abstract.
By: Feildmaster <admin@feildmaster.com>
2012-02-19 15:52:46 -06:00
Bukkit/Spigot
07ccb2a000 [Bleeding] Add ways to retrieve and delete crafting recipes and fixed some issues with the existing recipe API.
- New recipe iterator which enables deleting specific recipes
- Functions to delete all recipes or revert to vanilla recipe set
- Fixed the recipes API; you should now be able to define recipes that take brewed potions!
- Fetch all recipes that result in a specific item

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2011-07-23 23:18:58 -04:00
Bukkit/Spigot
8bc2cf4969 [Bleeding] Cleanup clone methods.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-14 01:49:06 -06:00
Bukkit/Spigot
ec40583deb Improved readability for /whitelist list. Addresses BUKKIT-772
By: Feildmaster <admin@feildmaster.com>
2012-02-18 15:04:02 -06:00
Bukkit/Spigot
e4de1795db [Bleeding] Event no longer implements Serializable.
By: Feildmaster <admin@feildmaster.com>
2012-02-19 01:25:46 -06:00
Bukkit/Spigot
0fd379166c [Bleeding] Remove deprecated events (EndermanPickup/Place).
By: Feildmaster <admin@feildmaster.com>
2012-02-19 01:25:11 -06:00
Bukkit/Spigot
539aedf219 [Bleeding] Specify event name in exception. Addresses BUKKIT-778
By: Feildmaster <admin@feildmaster.com>
2012-02-19 02:49:51 -06:00
Bukkit/Spigot
a23dfcdc7e [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization
By: Wesley Wolfe <weswolf@aol.com>
2012-02-16 14:37:57 -06:00
Bukkit/Spigot
95dc319bed [Bleeding] Added Enchantment and misc tests to ItemStack (de)serialization
By: Wesley Wolfe <weswolf@aol.com>
2012-02-16 14:37:57 -06:00
Bukkit/Spigot
e106970af9 [Bleeding] Fixed class cast in ItemStack deserialization. Fixes BUKKIT-777
By: Wesley Wolfe <weswolf@aol.com>
2012-02-15 20:40:58 -06:00
Bukkit/Spigot
b58168b112 [Bleeding] Exception cleanup. Addresses BUKKIT-774
By: Wesley Wolfe <weswolf@aol.com>
2012-02-18 17:15:59 -06:00
Bukkit/Spigot
91c8bbacc7 [Bleeding] Skip InvocationTargetException. Addresses BUKKIT-774
By: Wesley Wolfe <weswolf@aol.com>
2012-02-16 18:14:39 -06:00
Bukkit/Spigot
cfccd9341c [Bleeding] Added ability to unregister listeners, updated javadoc and
renamed allLists. Addresses BUKKIT-773

By: SpaceManiac <tad.hardesty@platymuus.com>
2012-02-18 15:41:18 -06:00
Bukkit/Spigot
9f2ca0a844 Add getEntitiesByClass(Class<T>) and getEntitiesByClasses(Class<?>...), deprecate getEntitiesByClass(Class<T>...)
By: Mike Primm <mike@primmhome.com>
2012-01-27 21:47:16 -06:00
Bukkit/Spigot
91946d8857 Fixed Validate message.
By: EvilSeph <evilseph@gmail.com>
2012-02-18 15:28:33 -05:00
Bukkit/Spigot
4608ec4504 Updated EntityTeleportEvent in line with deprecation cleanup.
By: EvilSeph <evilseph@gmail.com>
2012-02-18 13:13:50 -05:00
Bukkit/Spigot
75fd934339 Deprecation cleanup.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:32:48 +01:00
Bukkit/Spigot
fe4de0bb01 Added RemoteServerCommandEvent.
By: Erik Broes <erikbroes@grum.nl>
2012-01-30 21:52:41 +01:00
Bukkit/Spigot
f7d527adf9 [Bleeding] Made PotionEffectTypes final, added reasons for deprecation.
Fixes BUKKIT-768 and BUKKIT-769

By: fullwall <fullwall@optusnet.com>
2012-02-15 16:21:49 +08:00
Bukkit/Spigot
86550000ce Updated version to 1.1-R5-SNAPSHOT for development towards next release.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 14:29:32 -05:00
Bukkit/Spigot
bc459fa3f0 Updated version to 1.1-R4 in pom.xml for RB.
By: EvilSeph <evilseph@gmail.com>
2012-02-13 11:31:29 -05:00
Bukkit/Spigot
63464c3bb0 [Bleeding] Update serialVersionUID.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-13 01:22:39 -06:00
Bukkit/Spigot
4e48b4725f [Bleeding] Added ability to register and listen to SubEvents. Addresses
BUKKIT-585

By: Feildmaster <admin@feildmaster.com>
2012-01-25 09:49:12 -06:00
Bukkit/Spigot
6492eb9683 [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

By: Zeerix <zeerix@draig.de>
2012-02-11 02:16:16 +01:00
Bukkit/Spigot
e204abd0f0 Allow cloning ItemStacks with unsafe enchantments. Fixes BUKKIT-621
Prevents "IllegalArgumentException: Specified enchantment cannot be applied to this itemstack").

By: mushroomhostage <mushroomhostage@yahoo.com>
2012-02-10 17:53:22 -08:00
Bukkit/Spigot
b7a973b822 Fixed typos and add usage message to timings command.
By: Travis Watkins <amaranth@ubuntu.com>
2012-02-10 13:48:53 -06:00
Bukkit/Spigot
a66baab794 [Bleeding] Added Potions API. Fixes BUKKIT-389
By: fullwall <fullwall@optusnet.com>
2012-01-09 14:39:06 +08:00
Bukkit/Spigot
af8929507e Added configurable animal and monster ticks per spawn setting.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 10:23:21 -05:00
Bukkit/Spigot
8aedc0a4b8 Added JOCKEY and CHUNK_GEN SpawnReasons.
By: EvilSeph <evilseph@gmail.com>
2012-02-10 00:48:19 -05:00
Bukkit/Spigot
4363ae55e0 [Bleeding] setLastDamageCaused to ComplexEntityPart parent.
By: Feildmaster <admin@feildmaster.com>
2012-02-08 16:14:33 -06:00
Bukkit/Spigot
cb2fe27653 [Bleeding] Add the ability for plugins to ignore cancelled events when
using the new event system.

By: md_5 <md_5@bigpond.com>
2012-01-21 15:34:22 +11:00
Bukkit/Spigot
3dcab1536a [Bleeding] Deprecate Enderman events in favor of EntityChangeBlock
By: Aidan Matzko <amatzko48@gmail.com>
2012-02-04 12:40:16 -05:00
Bukkit/Spigot
0293f10d23 [Bleeding] Implemented customizable permission messages.
By: Wesley Wolfe <weswolf@aol.com>
2012-02-08 17:03:50 -06:00
Bukkit/Spigot
3dadfe5e85 Properly unregister plugin channels when a plugin gets disabled.
By: Meaglin <meaglin.wasabi@gmail.com>
2012-01-28 03:45:49 +01:00
Bukkit/Spigot
b51e8579ef Added EntityTeleportEvent. Fixes BUKKIT-366
By: craftycreeper <diagonalfish+craftycreeper@gmail.com>
2012-02-07 23:42:43 -05:00
Bukkit/Spigot
202521ce54 Added SpawnReason.BUILD_SNOWMAN.
By: EvilSeph <evilseph@gmail.com>
2012-02-08 18:27:49 -05:00
Bukkit/Spigot
238ceb0afd Added RegainReason.ENDER_CRYSTAL.
By: EvilSeph <evilseph@gmail.com>
2012-02-08 10:54:30 -05:00
Bukkit/Spigot
60f92a8572 setCancelled should probably not be hard-coded to true or it could put
fernferrets in danger of self-implosion.

By: EvilSeph <evilseph@gmail.com>
2012-02-05 01:56:06 -05:00
Bukkit/Spigot
552bb7f085 Added Spawner Egg support to CreatureSpawnEvent.
By: EvilSeph <evilseph@gmail.com>
2012-02-05 01:54:27 -05:00
Bukkit/Spigot
f7f18879e3 [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.

By: Travis Watkins <amaranth@ubuntu.com>
2012-01-31 13:50:12 -06:00
Bukkit/Spigot
b2d95b3937 Added entity type IDs as per vanilla spec.
By: Jeremy Wood <farachan@gmail.com>
2012-02-01 10:53:36 -05:00
Bukkit/Spigot
1749f26e03 Fixed casting in ItemStack.deserialize.
By: starrynte <starrynte@gmail.com>
2012-02-01 21:30:01 -08:00