Commit Graph

2940 Commits

Author SHA1 Message Date
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
Bukkit/Spigot
3d68b13188 #980: Improve getArmorContents() documentation
By: Bruno Ivan <bruno@oikei.net>
2024-03-12 20:31:29 +11:00
Bukkit/Spigot
7a71ab650c #983: Expose riptide velocity to PlayerRiptideEvent
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-03-10 09:27:41 +11:00
Bukkit/Spigot
1e709e216a SPIGOT-7594: Fix typo and include missing MinecraftExperimental annotation in Loot Table enum
By: Doc <nachito94@msn.com>
2024-02-27 07:01:48 +11:00
Bukkit/Spigot
632debf466 SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, #722: Add EntityRemoveEvent
By: DerFrZocker <derrieple@gmail.com>
2024-02-21 20:55:27 +11:00
Bukkit/Spigot
9237bcc204 SPIGOT-7417, #967: Add Sign#getTargetSide and Sign#getAllowedEditor
By: Jishuna <joshl5324@gmail.com>
2024-02-17 14:02:35 +11:00
Bukkit/Spigot
57c19c41c5 SPIGOT-7584: Add missing Tag.ITEMS_NON_FLAMMABLE_WOOD
By: md_5 <git@md-5.net>
2024-02-17 13:39:14 +11:00
Bukkit/Spigot
5c89ccf428 Improve compatibility of new DamageSource API
By: md_5 <git@md-5.net>
2024-02-14 06:38:57 +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
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
e46e33f5e2 SPIGOT-7576, #970: Add methods in MushroomCow to change stew effects
By: Doc <nachito94@msn.com>
2024-02-08 22:54:45 +11:00
Bukkit/Spigot
a8cebda10e #902: Add Server#isLoggingIPs to get log-ips configuration
By: Doc <nachito94@msn.com>
2024-02-07 07:09:32 +11:00
Bukkit/Spigot
04d1d1e2b9 #971: Add Player methods for client-side potion effects
By: Jishuna <joshl5324@gmail.com>
2024-02-04 10:10:28 +11:00
Bukkit/Spigot
7087785389 #963: Add API for in-world structures
By: coll1234567 <joshl5324@gmail.com>
2024-02-04 10:04:33 +11:00
Bukkit/Spigot
9a36ebd659 SPIGOT-7530, #948: Improve Resource Pack API with new 1.20.3 functionality
By: Doc <nachito94@msn.com>
2024-01-31 22:02:41 +11:00
Bukkit/Spigot
83aefc37a9 SPIGOT-3071, #969: Add entity spawn method with spawn reason
By: DerFrZocker <derrieple@gmail.com>
2024-01-31 20:08:03 +11:00
Bukkit/Spigot
cefbe9fb96 SPIGOT-5553, #964: Add EntityKnockbackEvent
By: Jishuna <joshl5324@gmail.com>
2024-01-27 14:53:36 +11:00
Bukkit/Spigot
f11f3d9479 #966: Introduce getRespawnLocation as a replacement for getBedSpawnLocation
By: Nothixal <nothixal@gmail.com>
2024-01-22 20:27:07 +11:00
Bukkit/Spigot
e0cee662c2 #965: Add DragonBattle#setPreviouslyKilled
By: DaFeist <56165444+dafeist-github@users.noreply.github.com>
2024-01-17 18:23:32 +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
2803610916 #961: Add BlockData#copyTo
By: Jishuna <joshl5324@gmail.com>
2024-01-15 20:33:15 +11:00
Bukkit/Spigot
a70e6187b4 #956: Add method to get an offline player's location
By: Nothixal <nothixal@gmail.com>
2024-01-15 20:30:38 +11:00
Bukkit/Spigot
abd7544014 Remove no longer used import
By: md_5 <git@md-5.net>
2024-01-14 13:03:28 +11:00
Bukkit/Spigot
63b7f85ac6 #958: Further clarify deprecation of TAG_CONTAINER_ARRAY
The commit expands on the deprecation reasoning for
PersistentDataType#TAG_CONTAINER_ARRAY to make it more clear for people
migrating their data as to why the data type is deprecated.

The commit also moves the annotation from obsolete to deprecated. The
special handling of this type in the pdc implementation is more annoying
than anything else and should not be used down the line, making
@Deprecated a more proper annotation for this field.

By: Bjarne Koll <lynxplay101@gmail.com>
2024-01-14 12:54:25 +11:00
Bukkit/Spigot
a8e0a4bdb7 #955: Add methods to place structures with block/entity transformers
By: Jishuna <joshl5324@gmail.com>
2024-01-10 18:44:27 +11:00
Bukkit/Spigot
f92b479ba3 SPIGOT-7547: Remark that Damageable#setAbsorptionAmount() is capped to a specific value
By: Joel Strasser <strasser999@gmail.com>
2024-01-08 19:08:49 +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
67405f33a9 Add EntityMountEvent and EntityDismount Event
Adapted from Spigot commit ab1e1a2a5a.

By: md_5 <git@md-5.net>
2024-01-07 08:59:52 +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
cfcc75669d #933: Define native persistent data types for lists
By: Bjarne Koll <lynxplay101@gmail.com>
2024-01-06 16:03: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
6c75204dda SPIGOT-6399, SPIGOT-7344: Clarify collidable behavior for player entities
By: DerFrZocker <derrieple@gmail.com>
2023-12-26 07:39:31 +11:00
Bukkit/Spigot
d34ae053c8 Add API for per-world simulation distances
Adapted from Spigot commit 6234669574cf0c5fb951f504399f4b171d1a09a7.

By: md_5 <git@md-5.net>
2023-12-23 14:32:35 +11:00
Bukkit/Spigot
ce1f206316 Add API for per-world view distances
Adapted from Spigot commit ea7e48b3e6d973551afe440a8cbc6d96a49d10fc.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2023-12-23 14:32:33 +11:00
Bukkit/Spigot
804a80b327 Add PlayerLoginEvent#getRealAddress
Adapted from Spigot commit 05db99ce17.

By: md_5 <git@md-5.net>
2023-12-23 12:32:24 +11:00
Bukkit/Spigot
9ce011cf3b #949: Add Vector#fromJOML() overloads for read-only vector types
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-12-19 19:11:12 +11:00
Bukkit/Spigot
b1ba1b1b8d Separate checkstyle-suppressions file is not required
By: md_5 <git@md-5.net>
2023-12-17 10:26:44 +11:00
Bukkit/Spigot
172c526a4b SPIGOT-7540, #946: Add ServerTickManager API
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:57 +11:00
Bukkit/Spigot
f3d18a30c1 SPIGOT-6903, #945: Add BlockData#getMapColor
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:51 +11:00
Bukkit/Spigot
d9c503c966 SPIGOT-7530, #947: Add Player#removeResourcePack
By: Doc <nachito94@msn.com>
2023-12-13 07:33:44 +11:00
Bukkit/Spigot
5cceccf876 SPIGOT-7527, #944: Add WindCharge#explode()
By: Doc <nachito94@msn.com>
2023-12-12 19:34:33 +11:00
Bukkit/Spigot
d8e579d6a5 Attempt upgrade of resolver libraries
By: md_5 <git@md-5.net>
2023-12-10 10:57:22 +11:00
Bukkit/Spigot
0a2fdbe9ff #936: Add new PersistentDataContainer methods and clean up docs
By: Jishuna <joshl5324@gmail.com>
2023-12-08 19:29:36 +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
0c336e76ce Update to Minecraft 1.20.4
By: md_5 <git@md-5.net>
2023-12-08 07:00:00 +11:00
Bukkit/Spigot
27fcca0875 SPIGOT-7533, 943: Add missing Poses for 1.20.3
By: Doc <nachito94@msn.com>
2023-12-07 08:21:27 +11:00
Bukkit/Spigot
c5f936087b Add unique ID to PlayerResourcePackStatusEvent
By: md_5 <git@md-5.net>
2023-12-06 20:27:57 +11:00
Bukkit/Spigot
9a3f67bc0b Add additional @MinecraftExperimental annotations
By: Doc <nachito94@msn.com>
2023-12-06 07:09:16 +11:00
Bukkit/Spigot
7857e5d221 SPIGOT-7526: Add missing PlayerResourcePackStatusEvent statuses
By: md_5 <git@md-5.net>
2023-12-06 07:07:29 +11:00
Bukkit/Spigot
ff37b12c68 Fix error in Crafter documentation
By: md_5 <git@md-5.net>
2023-12-06 04:03:59 +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
d569990c3b Update to Minecraft 1.20.3
By: md_5 <git@md-5.net>
2023-12-06 03:40:00 +11:00
Bukkit/Spigot
304434a635 #941: Don't allow Player removal via Entity#remove
By: DerFrZocker <derrieple@gmail.com>
2023-11-27 19:10:47 +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
1f322369a0 #938: Various Sound API improvements
By: Jishuna <joshl5324@gmail.com>
2023-11-17 19:54:43 +13:00
Bukkit/Spigot
44cbcb80d4 #937: Minor improvements to World#rayTrace documentation
By: Jishuna <joshl5324@gmail.com>
2023-11-16 15:36:28 +13:00
Bukkit/Spigot
72d2572304 #935: Change Consumer and Predicates to super
By: DerFrZocker <derrieple@gmail.com>
2023-11-14 19:50:23 +13:00
Bukkit/Spigot
2dc53c2502 SPIGOT-3641, SPIGOT-7479, #931: Add missing values to EntityEffect
By: Jishuna <joshl5324@gmail.com>
2023-11-10 06:58:15 +11:00
Bukkit/Spigot
6890c1174c Add eclipse .factorypath file to .gitignore
By: DerFrZocker <derrieple@gmail.com>
2023-11-09 10:20:23 +01:00
Bukkit/Spigot
2df6318ebf #927: Add PlayerRecipeBookSettingsChangeEvent
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:43:30 +11:00
Bukkit/Spigot
9ea9164d2d #930: Add methods to get/set evoker fang attack delay
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:36:02 +11: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