Commit Graph

254 Commits

Author SHA1 Message Date
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 69683a66cc SPIGOT-7731: Spawn eggs cannot have damage
By: Doc <nachito94@msn.com>
2024-06-10 14:06:27 +10:00
Bukkit/Spigot 3dcb0dfc9a #978: Add Material#isCompostable and Material#getCompostChance
By: mfnalex <mfnalex@jeff-media.com>
2024-06-05 07:15:46 +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 b0df4fc813 #1020: Cast instead of using #typed when getting BlockType and ItemType to better work with testing / mocks
By: DerFrZocker <derrieple@gmail.com>
2024-06-03 07:15:10 +10:00
Bukkit/Spigot 932c4966ad #1015: Add a tool component to ItemMeta
By: 2008Choco <hawkeboyz2@hotmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-29 06:53:57 +10:00
Bukkit/Spigot ce747e1973 #1013, SPIGOT-4288, SPIGOT-6202: Add material rerouting in preparation for the switch to ItemType and BlockType
This also moves the conversion from and to legacy material to the method
calls of legacy plugins, and no longer allows them directly in the
server.

This has the side effect of fixing some legacy plugin issues, such as
SPIGOT-4288, SPIGOT-6161. Also fixes legacy items sometimes not stacking
in inventory when using addItem, a client disconnect when using legacy
items in recipes and probably some more.

By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:48:52 +10:00
Bukkit/Spigot 25c8c8a3da #1011: Throw an exception if a RecipeChoice is ever supplied air
This would otherwise crash the client.

By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-14 19:52:25 +10:00
Bukkit/Spigot 30784afe2f #1007: Add ItemMeta#getAsComponentString()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-06 20:23:36 +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 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 74cf79c267 #1002: Improve documentation and implementation of getMaxStackSize
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-28 09:11:30 +10:00
Bukkit/Spigot c30ea3a2d3 SPIGOT-7637: Bad logic in checking nullability of AttributeModifier slots
Also fix Class loading order issues, which resulted in EquipmentSlot#getGroup returning null, since EquipmentSlot and EquipmentSlotGroup referencing each other on class init.
This caused EquipmentSlot to being init first, when the fields in EquipmentSlotGroup are still null, resulting in the group being null.

By: DerFrZocker <derrieple@gmail.com>
2024-04-25 21:06:52 +02:00
Bukkit/Spigot 1ba56ce1ca Add some missing deprecation annotations
By: md_5 <git@md-5.net>
2024-04-25 10:27:43 +10:00
Bukkit/Spigot 1be3d0749e SPIGOT-7355: More field renames and fixes
- Rename MapCursor Types to match their Minecraft names
- SPIGOT-7355: Rename ItemFlag#HIDE_POTION_EFFECTS to better reflect its function

By: DerFrZocker <derrieple@gmail.com>
2024-04-25 07:49:38 +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 4ba949cee7 #996: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-24 02:32:44 +10:00
Bukkit/Spigot d1a68a02b4 Fix JavaDoc errors
By: md_5 <git@md-5.net>
2024-04-24 01:47:31 +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 016f4cc0da #985: Correct book maximum pages and characters per page documentation
By: Marco <thevipershowita@gmail.com>
2024-03-17 10:07:20 +11:00
Bukkit/Spigot 3d68b13188 #980: Improve getArmorContents() documentation
By: Bruno Ivan <bruno@oikei.net>
2024-03-12 20:31:29 +11:00
Bukkit/Spigot e32cdbcc1c Remove some old ApiStatus.Experimental annotations
By: md_5 <git@md-5.net>
2024-02-11 10:06:55 +11:00
Bukkit/Spigot 7b30278054 SPIGOT-6921, #957: Add methods to remove all enchantments on an ItemStack
By: Nothixal <nothixal@gmail.com>
2024-01-16 07:38:51 +11:00
Bukkit/Spigot 163900a963 Fix typo in RecipeChoice.ExactChoice docs
By: md_5 <git@md-5.net>
2024-01-08 07:20:44 +11:00
Bukkit/Spigot 168c6c55ad Improve ItemFactory#enchantItem consistency
By: md_5 <git@md-5.net>
2024-01-06 16:07:53 +11:00
Bukkit/Spigot b48b712546 SPIGOT-7554, #954: Add DecoratedPotInventory
By: BlackHole <black-hole@live.com>
2023-12-28 08:03:18 +11:00
Bukkit/Spigot d569990c3b Update to Minecraft 1.20.3
By: md_5 <git@md-5.net>
2023-12-06 03:40:00 +11:00
Bukkit/Spigot 90df6eb97a #915: Add support for virtual entities
By: Jishuna <joshl5324@gmail.com>
2023-11-19 19:03:25 +13:00
Bukkit/Spigot cc40fd75d0 SPIGOT-7514, #929: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics
By: Miles Holder <mwholder2005@gmail.com>
2023-11-09 06:30:10 +11:00
Bukkit/Spigot f2b2fd52d4 #712: Add API to get full result of crafting items
By: James Peters <email@jamesdpeters.com>
2023-11-06 20:37:32 +11:00
Bukkit/Spigot 943fb1db3d #914: Make use of ApiStatus.Internal reather than deprecation
By: Doc <nachito94@msn.com>
2023-10-13 20:33:28 +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 eef02e5dd2 #906: Add missing MinecraftExperimental annotation to Bundles
By: Doc <nachito94@msn.com>
2023-09-23 10:33:13 +10:00
Bukkit/Spigot cbeae89133 #873: Add PlayerRecipeBookClickEvent
By: Jishuna <joshl5324@gmail.com>
2023-08-02 07:46:15 +10:00
Bukkit/Spigot a8b458f9dc #883: Add ItemFactory#getSpawnEgg
By: Jishuna <joshl5324@gmail.com>
2023-07-18 21:28:00 +10:00
Bukkit/Spigot a06d9c58c6 #886: Deprecate the SmithingRecipe constructor as it now does nothing
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-07-12 06:51:48 +10:00
Bukkit/Spigot 0ce4f87779 #686: Add missing trim patterns added in 1.20
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-06-09 12:02:50 +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 dc42ac1025 Disable InterfaceIsType Checkstyle check
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-05-28 08:21:48 -04:00
Bukkit/Spigot 2cc09c8437 SPIGOT-7347: Add missing documentation and details to ShapedRecipe
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-05-11 06:52:08 +10:00
Bukkit/Spigot 101494af90 #849: Add InventoryView#setTitle
By: Y2Kwastaken <mwholder2005@gmail.com>
2023-05-04 18:52:15 +10:00
Bukkit/Spigot c156e89f42 SPIGOT-6308: Deprecate the location name property of map items
This property does not have the expected effect.

By: blablubbabc <lukas@wirsindwir.de>
2023-04-17 19:33:15 +10:00
Bukkit/Spigot dba384ad97 Remove obsolete documentation from ArmorMeta#setTrim
By: md_5 <git@md-5.net>
2023-04-08 08:03:58 +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 bec81a9aff #831: Add a standard of annotations for Minecraft experimental things and API
By: Doc <nachito94@msn.com>
Also-by: 2008Choco <hawkeboyz2@hotmail.com>
2023-04-07 09:41:58 +10:00
Bukkit/Spigot 576f627798 SPIGOT-7309: Add API for jukebox inventories
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-23 20:55:12 +11:00
Bukkit/Spigot fff80f432d SPIGOT-7296: Add ItemFlag#HIDE_ARMOR_TRIM
By: md_5 <git@md-5.net>
2023-03-16 06:42:23 +11:00
Bukkit/Spigot b76cbe36c5 Update to Minecraft 1.19.4
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00