Commit Graph

473 Commits

Author SHA1 Message Date
Lulu13022002 3375abab49 More vanilla friendly methods to update trades (#8478) 2022-11-23 22:38:49 +01:00
Jake Potrebic 48d31a56e9 Add api to resolve components (#7648) 2022-11-22 20:53:50 -08:00
Jakub Žáček b36d2af7d5 Add Player Warden Warning API (#8470) 2022-11-20 19:53:58 +01:00
Jake Potrebic b121c04895 Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
Owen1212055 af85b6071c Cleanup reputation API + back with an EnumMap instead of array (#8258)
Resolves: #7142
2022-11-12 12:41:22 -05:00
Owen1212055 36d8f327e8 Add PrePlayerAttackEntityEvent (#8369)
Allows you to cancel player event attacking, preventing things like attack sounds from being played.
2022-11-09 22:05:58 -05:00
Jake Potrebic 2f0e0c5f2b Fix Advancement#getDisplay() api break (#8541) 2022-11-04 15:59:15 -07:00
Astro Angelfish bf532ab0fb [ci-skip] Rename Paper stop tp Paper end. (#8539) 2022-11-05 00:08:01 +08:00
Lulu13022002 4400eb6600 Call PlayerLaunchProjectileEvent for trident (#8027) 2022-11-03 19:43:50 +01:00
Jake Potrebic 13442cd5c9 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#8515)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
9a4de097 SPIGOT-7171: Ability to get the IP/hostname players are requesting status of

CraftBukkit Changes:
f43634ae4 SPIGOT-7170: Cannot set slots in custom smithing inventory
48f3a2258 SPIGOT-7171: Ability to get the IP/hostname players are requesting status of
30e31b4d1 SPIGOT-7177: Certain blocks don't call BlockCanBuildEvent
982364797 SPIGOT-7174: Avoid adding air to CraftMetaBundle

Spigot Changes:
6198b5ae PR-122: Add missing parentheses to pumpkin and melon growth modifier
1aec3fc1 Rebuild patches
2022-10-30 19:44:25 -07:00
Owen1212055 4fad96576f Deprecate unused VehicleEntityCollisionEvent methods (#8498) 2022-10-29 13:18:17 -04:00
Hannes Greule 878600ebbc Fix wrong descriptor in ASMEventExecutorGenerator (#8506) 2022-10-28 02:27:33 +02:00
Noah van der Aa f84fb32dc5 Add allow server listing & text filtering client options (#7595) 2022-10-27 01:09:03 +02:00
Jake Potrebic bac7ba4c5a Updated Upstream (Bukkit/Spigot) (#8445) 2022-10-23 10:41:34 -07:00
Owen1212055 c1aac9ca35 Don't fire EntityToggleSitEvent on deserialization & reorder some api patches (#8495) 2022-10-22 22:55:28 -04:00
Owen1212055 fc19cbd800 Add Moving Piston API (#7019) 2022-10-22 20:37:37 -04:00
SoSeDiK e7b3fba8e6 Add EquipmentSlot convenience methods (#8477) 2022-10-23 02:50:12 +03:00
IEatBeans 634f212bd5 Added EntityToggleSitEvent (#7579)
* Added EntityToggleSitEvent Patches

* Updated event phrasing, fixed Boolean not being primitive, pandas now fire event, and event is defined and called in 1 line

* Updated event phrasing, fixed Boolean not being primitive, pandas now fire event, and event is defined and called in 1 line

* Added EntityToggleSitEvent Patches

* Added EntityToggleSitEvent Patches

* Added EntityToggleSitEvent Patches
2022-10-22 15:20:52 -07:00
thelooter 28e6d9fd86 Add MaterialTags for the different Types of Tools (#8049)
* Add MaterialTags for the different Types of Tools

* Add Netherite Tools Tag
2022-10-22 23:51:34 +02:00
Jason Penilla 13f7207665 Add stacktrace deobfuscation in more places (#8484) 2022-10-18 19:21:07 -07:00
Melncat cd71f3c427 Add LivingEntity knockback API (#8479) 2022-10-18 00:33:58 -07:00
Jakub Žáček 154762a316 Add converted Slot number to PlayerInventorySlotChangeEvent (#8482) 2022-10-18 09:32:22 +02:00
SoSeDiK 50c3dccb29 Add LivingEntity#swingHand(EquipmentSlot) convenience method (#8456) 2022-10-16 14:49:56 +03:00
Jakub Žáček fc419cfa50 Fix package for PlayerInventorySlotChangeEvent (#8475)
Co-authored-by: Jakub Zacek <dawon@dawon.eu>
2022-10-16 09:49:47 +02:00
Lexi 11281d0789 Avoid usages of RecipeChoice#getItemStack() (#8453)
Replaces some internal usages of this method with RecipeChoice#test(ItemStack) and deprecates every other method still utilizing this legacy method.
2022-10-15 15:20:12 -04:00
SoSeDiK 254a07415d Allow changing bed's 'occupied' property (#8458) 2022-10-14 11:37:01 +03:00
Lulu13022002 c0e86f0599 Avoid cycle deprecation (#8466) 2022-10-13 13:52:04 +02:00
SoSeDiK 683149f9a1 Elder Guardian appearance API (#8455) 2022-10-13 13:26:51 +03:00
Jakub Žáček 07f0c9755b Add PlayerInventorySlotChangeEvent (#7321) 2022-10-11 23:49:10 +02:00
Owen1212055 e7535118d9 Add missing Entity + Projectile API (#7632) 2022-10-11 17:04:26 -04:00
SoSeDiK 9ff21585db Expose isUnderWater to Entity (#8454) 2022-10-11 15:43:10 +03:00
Jake Potrebic 68ca16f075 Add Unmodifiable annotations to getDrops methods (#8440) 2022-10-07 11:51:54 -07:00
Nassim Jahnke ad03c22822 [ci skip] Minor patch cleanup 2022-10-03 19:07:03 +02:00
Nassim Jahnke 0254c46a8b Updated Upstream (Bukkit/CraftBukkit) (#8430)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
09943450 Update SnakeYAML version
5515734f SPIGOT-7162: Incorrect description for Entity#getVehicle javadoc
6f82b381 PR-788: Add getHand() to all relevant events

CraftBukkit Changes:
aaf484f6f SPIGOT-7163: CraftMerchantRecipe doesn't copy demand and specialPrice from BukkitMerchantRecipe
5329dd6fd PR-1107: Add getHand() to all relevant events
93061706e SPIGOT-7045: Ocelots never spawn with babies with spawn reason OCELOT_BABY
2022-10-02 09:56:36 +02:00
Melncat 4a28b308a5 Add getDrops to BlockState and isPreferredTool to BlockData (#8284) 2022-10-01 03:30:00 -07:00
Nassim Jahnke 18149f8cb2 Add system property to dump stack on bad plugin class access (#8417) 2022-10-01 11:49:27 +02:00
Jake Potrebic f7c05166ab Fixes a couple issues with entity spawn reasons (#8390) 2022-09-26 17:24:56 -07:00
Nassim Jahnke 9fdc8516b8 Update snekyaml 2022-09-26 19:47:22 +02:00
Bjarne Koll 614f528234 Fix typos in isTickingWorlds API javadocs (#8382) 2022-09-25 02:01:17 +02:00
Lulu13022002 f059f8fce5 Fix setEggCount method from TurtleLayEggEvent (#8385) 2022-09-24 18:34:20 +02:00
willkroboth 28f9b1a3cb Add method isTickingWorlds to Bukkit (#8316)
Co-authored-by: Shane Freeder <theboyetronic@gmail.com>

Also, restores un/loading worlds mid tick. This will not be officially supported API contract that such a routine is safe, and these restrictions may be restored in the future.
2022-09-24 01:19:05 -04:00
Shane Freeder 8e18842fbc Updated Upstream (Bukkit/CraftBukkit/Spigot)
Upstream has released updates that appear to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
c7c11188 SPIGOT-2620: Add Player#sendBlockChanges()
f63d2b44 Improve annotation test on parameters
3372e7b4 SPIGOT-1244, SPIGOT-6860, SPIGOT-6874: Various Javadoc and formatting fixes
a1e8a9ab PR-793: Ignore .checkstyle file generated by Eclipse IDE

CraftBukkit Changes:
c2c39089e SPIGOT-2620: Add Player#sendBlockChanges()
8209158db PR-1113: Ignore .checkstyle file generated by Eclipse IDE

Spigot Changes:
4aa5ead2 Rebuild patches
2022-09-24 02:38:12 +01:00
Jake Potrebic d885450b81 Correct javadocs on PlayerArmorStandManipulateEvent (#7719) 2022-09-22 22:55:02 -07:00
Shane Freeder eb3f66c6da Updated Upstream (Bukkit/CraftBukkit) (#8378) 2022-09-23 06:08:43 +01:00
Nick Hensel ad4ca0a429 Also load resources from LibraryLoader (#8335) 2022-09-20 03:07:03 +02:00
Shane Freeder ede4468516 Make WorldCreator#keepSpawnLoaded return the WorldCreator (Fixes #8321) (#8371)
* Make WorldCreator#keepSpawnLoaded return the WorldCreator (Fixes #8321)

Thought that I fixed this before push/merge, apparently not, hence, fix
the return type and add mitigation for this.

* Fix patch/build

* Rebuild patches
2022-09-20 01:28:22 +01:00
Melncat d2239c40a5 Add a consumer parameter to ProjectileSource#launchProjectile (#8374)
Co-authored-by: MelnCat <melncatuwu@gmail.com>
2022-09-19 17:03:59 -07:00
Nex d843d7659e Added byte array serialization/deserialization for PersistentDataContainers (#7505) 2022-09-18 04:06:53 +00:00
Lulu13022002 d146ab42bd Missing eating regain reason (#8244) 2022-09-18 05:24:28 +02:00
Fruxz d92d75fb7b Add custom destroyerIdentity parameter to the sendBlockBreak function (#5840) 2022-09-17 23:27:46 +02:00