Commit Graph

81 Commits

Author SHA1 Message Date
Jake Potrebic
f9d3155517 Custom Potion Mixes 2021-10-07 14:34:59 -07:00
Jake Potrebic
5ac3ad3792 More PotionEffectType API 2021-05-27 21:58:33 -07:00
Aikar
2825ece820 Fix Spigot annotation mistakes
while some of these may of been true, they are extreme cases and cause
a ton of noise to plugin developers.

Use ApiStatus.Internal instead of Deprecated for actual internal API
that continues to have use (internally).

These do not help plugin developers if they bring moise noise than value.
2019-03-24 18:39:01 -04:00
Aikar
bf8735b85b PotionEffect clone methods 2018-06-03 04:10:13 -04:00
Bukkit/Spigot
0023e5549a #1082: Add "since" to Deprecation annotations
By: DerFrZocker <derrieple@gmail.com>
2024-11-25 07:52:33 +11:00
Bukkit/Spigot
42cd6c82ff #1058: Add tests for Minecraft registry <-> Bukkit fields
By: DerFrZocker <derrieple@gmail.com>
2024-09-27 08:15:05 +10:00
Bukkit/Spigot
5c69fd52f0 Update to Minecraft 1.21
By: md_5 <git@md-5.net>
2024-06-14 01:05:00 +10:00
Bukkit/Spigot
a3fb15bc23 SPIGOT-7676: Enforce locale parameter in toLowerCase and toUpperCase method calls and always use root locale
By: DerFrZocker <derrieple@gmail.com>
2024-06-03 07:18:14 +10:00
Bukkit/Spigot
2642e438f0 #1014: Add PotionEffectTypeCategory to distinguish between beneficial and harmful effects
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-29 06:50:05 +10:00
Bukkit/Spigot
26f4f1cf7d Largely restore deprecated PotionData API
By: md_5 <git@md-5.net>
2024-05-05 20:45:43 +10:00
Bukkit/Spigot
92293c1b89 #1004: Improve field rename handling and centralize conversion between bukkit and string more
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 08:19:04 +10:00
Bukkit/Spigot
63e9877c7a Fix imports in previous commit
By: md_5 <git@md-5.net>
2024-04-24 18:51:23 +10:00
Bukkit/Spigot
9f064c2cc7 #995: Add required feature to MinecraftExperimental for easy lookups
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-24 18:19:37 +10:00
Bukkit/Spigot
d9a704e3f6 SPIGOT-5336: Field name parity with Minecraft keys
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 01:15:00 +10:00
Bukkit/Spigot
f3502f6dac Update to Minecraft 1.20.5
By: md_5 <git@md-5.net>
2024-04-24 01:15:00 +10:00
Bukkit/Spigot
6ba05011fa #979: Add more translation keys
By: Miles Holder <mwholder2005@gmail.com>
2024-03-17 10:26:51 +11:00
Bukkit/Spigot
9ac8229b9b SPIGOT-6026: Pull PotionEffectType and Enchantment from registry
By: DerFrZocker <derrieple@gmail.com>
2023-12-06 03:40:00 +11:00
Bukkit/Spigot
5889c180cc SPIGOT-5753: Back PotionType by a minecraft registry
By: DerFrZocker <derrieple@gmail.com>
2023-10-09 20:22:49 +11:00
Bukkit/Spigot
a67391a13e Update to Minecraft 1.20.2
By: md_5 <git@md-5.net>
2023-09-22 02:40:00 +10:00
Bukkit/Spigot
b1268227d9 #824: Expand upon PotionEffect API to better accommodate infinite durations
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-20 10:01:28 +11:00
Bukkit/Spigot
ec575f5252 Update to Minecraft 1.19
By: md_5 <git@md-5.net>
2022-06-08 02:00:00 +10:00
Bukkit/Spigot
7ccab27756 #693: Add proper javadocs for dolphins grace, bad omen, and hero of the village
By: coll1234567 <joshl5324@gmail.com>
2021-12-22 09:03:22 +11:00
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