Commit Graph

49 Commits

Author SHA1 Message Date
Nassim Jahnke c37b890c8b More deferred requireNonNull message creation 2025-03-13 12:27:12 +01:00
Glicz b00875f86d Add a method on Registry to get the size (#12182) 2025-02-25 22:02:48 +01:00
Lulu13022002 d4a957849c Experimental annotation changes (#12028) 2025-01-30 20:02:14 +01:00
Jake Potrebic 3a479eadd7 Add Registry#getTags (#11795) 2024-12-25 19:39:27 -08:00
Owen1212055 30b4dedabb DataComponent API
Exposes the data component logic used by vanilla ItemStack to API
consumers as a version-specific API.
The types and methods introduced by this patch do not follow the general
API deprecation contracts and will be adapted to each new minecraft
release without backwards compatibility measures.
2024-04-28 19:53:06 -04:00
Jake Potrebic 146cd1a015 Registry Modification API 2022-03-02 13:36:21 -08:00
Jake Potrebic d513222b59 Improve Registry
Adds Registry#getKey(Object) which should be the
primary way people get the key for an object. Registry
items need to exist without having a key and so
getKey() methods on Keyed objects that have a registry
are marked as Deprecated or Obsolete.
2023-12-20 02:03:10 -08:00
Jake Potrebic 5ac3ad3792 More PotionEffectType API 2021-05-27 21:58:33 -07:00
Jake Potrebic 25c065b4b2 Add RegistryAccess for managing registries 2022-03-02 13:36:21 -08: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
Bukkit/Spigot 42504c5ab7 #1075: Make Art an interface
By: DerFrZocker <derrieple@gmail.com>
2024-11-02 11:00:10 +11:00
Bukkit/Spigot 79319a05d4 #1074: Make Sound an interface
By: DerFrZocker <derrieple@gmail.com>
2024-11-02 11:00:03 +11:00
Bukkit/Spigot a45964ac0e #1073: Make Biome an interface
By: DerFrZocker <derrieple@gmail.com>
2024-11-01 08:05:31 +11:00
Bukkit/Spigot 79a73f5e87 #1071: Make Fluid an interface and add missing entry
By: DerFrZocker <derrieple@gmail.com>
2024-10-29 06:43:18 +11:00
Bukkit/Spigot 5b78d5d8a2 #1070: Make Attribute an interface and align names with the new minecraft ones
By: DerFrZocker <derrieple@gmail.com>
2024-10-29 06:43:08 +11:00
Bukkit/Spigot 5f8dbb00f6 Improve Registry#getOrThrow messages
By: md_5 <git@md-5.net>
2024-09-27 08:21:26 +10: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 f585e110be #1049: Add MenuType API
By: Miles Holder <mwholder2005@gmail.com>
2024-09-07 18:51:55 +10:00
Bukkit/Spigot d767353e69 SPIGOT-7837: Support data pack banner patterns
By: Doc <nachito94@msn.com>
2024-07-27 10:14:38 +10:00
Bukkit/Spigot bf8d602a0a Remove spurious ApiStatus.Internal annotation
By: md_5 <git@md-5.net>
2024-07-07 17:25:31 +10:00
Bukkit/Spigot abc756fce8 #1029: Trial changing a small number of inner enums to classes/interfaces to better support custom values
This PR is a subset of the enum PR #660 and is designed as a low impact
trial run of the design and backwards compatibility to inform subsequent
development.

Additional plugin compatibility features may be available by setting
`settings.compatibility.enum-compatibility-mode` to `true` in
`bukkit.yml`.

By: DerFrZocker <derrieple@gmail.com>
2024-07-06 17:14:17 +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 fc9e5af885 #919: Add internal ItemType and BlockType, delegate Material methods to them
By: Jishuna <joshl5324@gmail.com>
Also-by: Bjarne Koll <lynxplay101@gmail.com>
Also-by: DerFrZocker <derrieple@gmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-05 10:08:51 +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 358a4da17e #997: Change wolf variant from enum to interface
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 04:21:58 +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 f9381f1dc4 SPIGOT-7300, #829: Add new DamageSource API providing enhanced information about entity damage
By: Doc <nachito94@msn.com>
Also-by: 2008Choco <hawkeboyz2@hotmail.com>
2024-02-11 09:54:21 +11:00
Bukkit/Spigot 460ea2aff9 #940: Create registry for banner pattern and cat type
By: Jishuna <joshl5324@gmail.com>
2023-12-08 19:24:14 +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 d257d03a16 #923: Back Particle by a minecraft registry
By: DerFrZocker <derrieple@gmail.com>
2023-10-21 13:42:07 +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 085e8f6d9f #893: Add a stream method to Registry to make it easier to use and to avoid unnecessary wrapping
By: DerFrZocker <derrieple@gmail.com>
2023-09-06 20:56:22 +10:00
Bukkit/Spigot 32643feee7 #895: Load GameEvent and MusicInstrument from registry
By: DerFrZocker <derrieple@gmail.com>
2023-09-02 12:55:16 +10:00
Bukkit/Spigot 59e77b485a Update to Minecraft 1.20
By: md_5 <git@md-5.net>
2023-06-08 01:30:00 +10:00
Bukkit/Spigot 217583e495 #864: Fix Registry#match() failing namespaced inputs
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-04 11:28:04 +10:00
Bukkit/Spigot 943a1d3dd9 #822: Add experimental armor trim API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-04-07 16:50:59 +10:00
Bukkit/Spigot ab2503b967 #812: Add Registry#match(String)
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-13 21:31:07 +11:00
Bukkit/Spigot 24ea881685 SPIGOT-7011, SPIGOT-7065: Overhaul of structures
By: DerFrZocker <derrieple@gmail.com>
2022-07-01 20:41:02 +10: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 153752dfac Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00
Bukkit/Spigot 5e82375383 #552: Add the ability to retrieve hit, step, fall, and other sounds from blocks.
By: Martoph <sager1018@gmail.com>
2020-11-26 09:36:59 +11:00
Bukkit/Spigot 9ff0ebcc6a #549: Add Fluid types / tags
By: Martoph <sager1018@gmail.com>
2020-09-14 19:36:28 +10:00
Bukkit/Spigot eed3a67ee8 Update to Minecraft 1.16.1
By: md_5 <git@md-5.net>
2020-06-25 10:00:00 +10:00
Bukkit/Spigot 86dee5827e SPIGOT-4833: Allow access to LivingEntity memories
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-05-19 19:57:33 +10:00
Bukkit/Spigot 4ed27a6eca SPIGOT-4872: LootTables missing a few loot tables
By: md_5 <git@md-5.net>
2019-05-06 08:40:10 +10:00
Bukkit/Spigot 713ac360bf SPIGOT-4820: Villager Type API
By: md_5 <git@md-5.net>
2019-05-01 18:39:34 +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