Commit Graph

2907 Commits

Author SHA1 Message Date
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
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
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
6a3d5c24c2 SPIGOT-7669: Fix typo in ProjectileHitEvent#getHitBlockFace documentation
By: Doc <nachito94@msn.com>
2024-05-20 21:56:11 +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
0ece9a991b Fix copy-pasted BlockType.Typed documentation
By: md_5 <git@md-5.net>
2024-05-06 20:20:54 +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
d8b68e62df #1008: Deprecate ITEMS_TOOLS, removed in 1.20.5
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-05 10:42:08 +10:00
Bukkit/Spigot
b7f877a67d Fix Javadoc reference
By: md_5 <git@md-5.net>
2024-05-05 10:18:53 +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
ba1db8acb9 SPIGOT-1166, SPIGOT-7647: Expose Damager BlockState in EntityDamageByBlockEvent
By: Doc <nachito94@msn.com>
2024-05-05 09:34:53 +10:00
Bukkit/Spigot
eb7e6bde61 SPIGOT-6993: Allow #setVelocity to change the speed of a fireball and add a note to #setDirection about it
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 19:34:24 +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
a3c30e3ee2 SPIGOT-7650: Add DamageSource for EntityDeathEvent and PlayerDeathEvent
By: Doc <nachito94@msn.com>
2024-05-04 08:15:58 +10:00
Bukkit/Spigot
9bbcd799fa Update to Minecraft 1.20.6
By: md_5 <git@md-5.net>
2024-04-30 06:15:00 +10:00
Bukkit/Spigot
d8e657a271 SPIGOT-7617: Add BlockExplodeEvent#getExplodedBlockState()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-29 20:08:52 +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
d89271b470 SPIGOT-7638: Library loader does not seem to resolve every dependency
By: DerFrZocker <derrieple@gmail.com>
2024-04-27 09:23:19 +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
374841b40f Update Maven plugins/versions
By: md_5 <git@md-5.net>
2024-04-25 10:27:40 +10:00
Bukkit/Spigot
1411d482d5 Use regular compiler seeing as ECJ doesn't support Java 21 JRE
By: md_5 <git@md-5.net>
2024-04-25 07:49:52 +10:00
Bukkit/Spigot
2304bc31f5 Revert "BUILDTOOLS-676: Downgrade Maven compiler version"
This reverts commit c5183dc422.

By: md_5 <git@md-5.net>
2024-04-25 07:49:51 +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
39c16e418e Fix bad merge in penultimate commit
By: md_5 <git@md-5.net>
2024-04-24 18:56:26 +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
c5183dc422 BUILDTOOLS-676: Downgrade Maven compiler version
By: md_5 <git@md-5.net>
2024-04-24 11:05:43 +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
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
bfd5351193 #994: Add methods to convert between an entity and a string
By: Jishuna <joshl5324@gmail.com>
2024-04-24 01:15:00 +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
60b9f5bacc #977: Remove legacy Particle values
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
899f2acb84 #993: Deprecate Command's permission message methods as they no longer work
Ever since Mojang's introduction of Brigadier in 1.13, the client is not
sent any commands to which it does not have permission to execute. If a
client executes a command it is not aware of (and consequently does not
have permission for), the client will send itself instead of forwarding
the failure to the server for its response.

By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-20 11:26:09 +10:00
Bukkit/Spigot
c71ea48a49 SPIGOT-7613: Make note of impact of mobGriefing gamerule for World#createExplosion()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-17 19:13:27 +10:00
Bukkit/Spigot
dcfc5f30a3 Improve documentation of Enchantment#values()
By: md_5 <git@md-5.net>
2024-04-17 19:11:14 +10:00
Bukkit/Spigot
e3c025977a Remove no longer required deprecation on display color APIs
By: md_5 <git@md-5.net>
2024-04-14 17:00:24 +10:00
Bukkit/Spigot
afe543345e #991: Add PluginManager#loadPlugins(File[])
By: MikChan <georgeendo0@gmail.com>
2024-04-13 17:01:48 +10:00
Bukkit/Spigot
ef44483fd2 #982: Add API to copy BlockState to a new Location
By: lbenav8095 <lubensaico@gmail.com>
2024-04-07 12:22:08 +10:00
Bukkit/Spigot
5479913288 #986: Add more Conduit API
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-07 12:05:21 +10:00
Bukkit/Spigot
1f1ef375be #988: Add World#getIntersectingChunks(BoundingBox)
By: Flo0 <flo.roma@web.de>
2024-04-01 09:43:44 +11:00
Bukkit/Spigot
97876f3d25 Move getItemInUse up to LivingEntity
By: md_5 <git@md-5.net>
2024-03-30 12:54:23 +11:00
Bukkit/Spigot
f0acc790e6 #959: Add access to current item's remaining ticks
By: gIsForGravity <gavin.f.tantleff@gmail.com>
2024-03-30 12:54:17 +11:00
Bukkit/Spigot
f92884c36a SPIGOT-7601: Add AbstractArrow#getItem
By: md_5 <git@md-5.net>
2024-03-30 12:17:54 +11:00
Bukkit/Spigot
07b9ed4e88 Add support for Java 22
By: md_5 <git@md-5.net>
2024-03-29 21:23:32 +11: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