Commit Graph

59 Commits

Author SHA1 Message Date
Bukkit/Spigot
45f7e75b02 #684: Make PotionEffectType implement Keyed
By: coll1234567 <joshl5324@gmail.com>
2021-11-28 11:49:39 +11:00
Bukkit/Spigot
6dd24e4af2 Update Maven plugins
By: md_5 <git@md-5.net>
2021-07-03 11:06:15 +10:00
Bukkit/Spigot
d16413b877 Javadoc improvements per checkstyle
By: md_5 <git@md-5.net>
2019-12-22 09:56:28 +11:00
Bukkit/Spigot
b2c53e8c68 Fix some javadoc warnings
Also remove a couple old/broken deprecated methods

By: md_5 <git@md-5.net>
2019-05-20 20:29:33 +10:00
Bukkit/Spigot
82854b7bd7 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:37:52 +10:00
Bukkit/Spigot
e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00
Bukkit/Spigot
c240b58f66 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:20 +10:00
Bukkit/Spigot
30a442aef7 Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
Bukkit/Spigot
9bd8e66c7d Remove nullability annotations from enum constructors
By: Darkyenus <darkyenus@gmail.com>
2019-03-14 11:28:51 +01:00
Bukkit/Spigot
416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00
Bukkit/Spigot
5c113e7369 SPIGOT-4586: Change PotionEffectType#value to not include null
As the PotionEffectType class is containing a bunch of constant values
the values method now fits the general idea of the Enum#values method as
it no longer returns a null object at index 0

By: Bjarne Koll <LynxPlay101@gmail.com>
2019-01-22 16:29:09 +01:00
Bukkit/Spigot
22c1a2b605 SPIGOT-4217: Account for ShowIcon to allow custom tipped arrows to merge
By: md_5 <git@md-5.net>
2018-08-03 19:57:02 +10:00
Bukkit/Spigot
193950a668 SPIGOT-4135: Fix DOLPHINS_GRACE PotionEffectType Wrapper.
By: md_5 <git@md-5.net>
2018-07-24 22:17:29 +10:00
Bukkit/Spigot
767e4f6ccf Update to Minecraft 1.13-pre7
By: md_5 <git@md-5.net>
2018-07-15 10:00:00 +10:00
Bukkit/Spigot
417599c2ab Some minor improvements from static analysis
By: md_5 <git@md-5.net>
2017-11-07 17:28:28 +11:00
Bukkit/Spigot
e3d4acc303 Assorted whitespace fixes
By: md_5 <git@md-5.net>
2017-08-06 09:08:05 +10:00
Bukkit/Spigot
d623ad5b5a SPIGOT-2923: Added PotionEffectType#getColor()
By: Lukas Hennig <lukas@wirsindwir.de>
2016-12-16 17:21:43 +01:00
Bukkit/Spigot
f1fb3d9462 Update to Minecraft 1.11
By: md_5 <git@md-5.net>
2016-11-17 12:40:59 +11:00
Bukkit/Spigot
7f7f1608e8 BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
2016-06-26 19:31:59 +10:00
Bukkit/Spigot
2b3b83636e SPIGOT-2229: Make PotionType.getDamageValue() attempt sane return.
By: md_5 <git@md-5.net>
2016-05-02 18:24:07 +10:00
Bukkit/Spigot
14838056ae Fixed Javadoc errors
By: Sycholic <c_chekay@yahoo.com>
2016-03-22 09:18:24 -04:00
Bukkit/Spigot
2fe89bac6f SPIGOT-1899: Fix inverted potion arguments.
By: md_5 <git@md-5.net>
2016-03-12 20:45:04 +11:00
Bukkit/Spigot
46b34edb29 Add equals / hashCode for PotionData
By: md_5 <git@md-5.net>
2016-03-12 13:08:44 +11:00
Bukkit/Spigot
949890d29d SPIGOT-1638 / SPIGOT-1673: Rework Potions API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-02 20:45:27 -05:00
Bukkit/Spigot
339b73ce6f SPIGOT-1356: Clarify expectations about PotionEffectType.values().
By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
3cb487abe5 SPIGOT-1357: Add potion particle effect color getters to API.
By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
de63cae2d7 Add definitions for Minecraft 1.9 gameplay elements
Includes an API for AreaEffectCloud and rework of Sound enum to include new sound values.

By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
abbe3b7bc6 Fix an issue with the potion test
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-07-24 00:55:44 +01:00
Bukkit/Spigot
953a90bdd3 SPIGOT-749: Fix NullPointerException and broken logic in Potion.fromDamage(int)
By: Antony Riley <antony@cyberiantiger.org>
2015-07-23 16:18:17 +03:00
Bukkit/Spigot
f6175ea588 Checked for instant potions, to fix NPE in serialization. Fixes SPIGOT-749
By: olivervscreeper <dev@olivervscreeper.co.uk>
2015-05-25 22:11:37 +01:00
Bukkit/Spigot
1b8726b2b5 SPIGOT-678: Fix the particles flag being ignored in hashCode, equals and serialization
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 11:53:20 +00:00
Bukkit/Spigot
38b546ae88 SPIGOT-371: Fix incorrect data bit for leap potion effect
By: DoctorDark <doctordark11@gmail.com>
2015-01-10 21:23:04 +00:00
Bukkit/Spigot
816db9f46b Add API to PotionEffect to determine whether particles are visible and displayed to the client. Fixes SPIGOT-125
By: 0x277F <0x277F@gmail.com>
2014-12-05 14:09:05 -07:00
Bukkit/Spigot
d8df20aca9 Fix the decoding of potions for Water.
By: FearThe1337 <admin@fearthe1337.com>
2014-12-17 17:22:02 +01:00
Bukkit/Spigot
b2d54f59bb Clean up the javadoc to pass java 8's doclint
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 21:09:01 +00:00
Bukkit/Spigot
8344aacc6e Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: md_5 <git@md-5.net>
2014-11-26 08:15:59 +11:00
Bukkit/Spigot
bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00
Bukkit/Spigot
aa66c8025a Update Update Bukkit to 1.7.2
By: mbax <matt@phozop.net>
2013-11-13 17:53:49 -07:00
Bukkit/Spigot
7ae60b3017 Correct some magic values. This amends 1f83111208ab3612f384a2e6b65cc28423dc625e
By: Wesley Wolfe <weswolf@aol.com>
2013-09-04 17:01:02 -05:00
Bukkit/Spigot
67439804f4 Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2013-09-10 21:02:53 -05:00
Bukkit/Spigot
f9bec6eadd Deprecate magic values
By: Wesley Wolfe <weswolf@aol.com>
2013-08-19 13:32:18 -05:00
Bukkit/Spigot
599ec05858 Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-08-03 21:46:30 -04:00
Bukkit/Spigot
74dfd2ceb7 Update Bukkit for Minecraft 1.6.2
By: Nate Mortensen <nate.richard.mortensen@gmail.com>
2013-07-07 22:31:48 -06:00
Bukkit/Spigot
153cde6043 Update Bukkit for Minecraft 1.6.1
By: Wesley Wolfe <weswolf@aol.com>
2013-07-01 05:50:24 -05:00
Bukkit/Spigot
a98bf9de33 Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2013-04-13 01:36:32 -05:00
Bukkit/Spigot
761a84cb1b Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-04-02 00:11:22 -04:00
Bukkit/Spigot
ac66053f35 Add ItemMeta factory and interfaces. This adds BUKKIT-15
Included with ItemMeta is a new serializable class Color.

PotionEffects are now serializable.

By: Wesley Wolfe <weswolf@aol.com>
2012-12-17 01:16:28 -06:00
Bukkit/Spigot
517f115fc0 Fixed typo in PotionType.
By: EvilSeph <evilseph@gmail.com>
2012-10-31 11:40:11 -04:00
Bukkit/Spigot
80c98cb5d4 Provide the 1.4.2 potions. Adds BUKKIT-2727.
Two potion types were missing from the 1.4.2 update. Invisibility and
night vision are now in the potion type enum.

Fixes an erroneous use of PotionEffectType.SPEED where it should have
been WEAKNESS.

Removed deprecation for the PotionEffectType relating to certain effects
that are now active in 1.4.2.

Fixes BUKKIT-2677, BUKKIT-2758.

By: Wesley Wolfe <weswolf@aol.com>
2012-10-31 04:12:53 -05:00
Bukkit/Spigot
c73a3c02f0 Update Bukkit for Minecraft 1.4(.2) changes.
By: Travis Watkins <amaranth@ubuntu.com>
2012-10-22 03:30:04 -05:00