Commit Graph

655 Commits

Author SHA1 Message Date
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
13f7207665 Add stacktrace deobfuscation in more places (#8484) 2022-10-18 19:21:07 -07:00
cd71f3c427 Add LivingEntity knockback API (#8479) 2022-10-18 00:33:58 -07:00
154762a316 Add converted Slot number to PlayerInventorySlotChangeEvent (#8482) 2022-10-18 09:32:22 +02:00
50c3dccb29 Add LivingEntity#swingHand(EquipmentSlot) convenience method (#8456) 2022-10-16 14:49:56 +03:00
fc419cfa50 Fix package for PlayerInventorySlotChangeEvent (#8475)
Co-authored-by: Jakub Zacek <dawon@dawon.eu>
2022-10-16 09:49:47 +02:00
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
254a07415d Allow changing bed's 'occupied' property (#8458) 2022-10-14 11:37:01 +03:00
c0e86f0599 Avoid cycle deprecation (#8466) 2022-10-13 13:52:04 +02:00
683149f9a1 Elder Guardian appearance API (#8455) 2022-10-13 13:26:51 +03:00
07f0c9755b Add PlayerInventorySlotChangeEvent (#7321) 2022-10-11 23:49:10 +02:00
e7535118d9 Add missing Entity + Projectile API (#7632) 2022-10-11 17:04:26 -04:00
9ff21585db Expose isUnderWater to Entity (#8454) 2022-10-11 15:43:10 +03:00
68ca16f075 Add Unmodifiable annotations to getDrops methods (#8440) 2022-10-07 11:51:54 -07:00
ad03c22822 [ci skip] Minor patch cleanup 2022-10-03 19:07:03 +02:00
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
4a28b308a5 Add getDrops to BlockState and isPreferredTool to BlockData (#8284) 2022-10-01 03:30:00 -07:00
18149f8cb2 Add system property to dump stack on bad plugin class access (#8417) 2022-10-01 11:49:27 +02:00
f7c05166ab Fixes a couple issues with entity spawn reasons (#8390) 2022-09-26 17:24:56 -07:00
9fdc8516b8 Update snekyaml 2022-09-26 19:47:22 +02:00
614f528234 Fix typos in isTickingWorlds API javadocs (#8382) 2022-09-25 02:01:17 +02:00
f059f8fce5 Fix setEggCount method from TurtleLayEggEvent (#8385) 2022-09-24 18:34:20 +02:00
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
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
d885450b81 Correct javadocs on PlayerArmorStandManipulateEvent (#7719) 2022-09-22 22:55:02 -07:00
eb3f66c6da Updated Upstream (Bukkit/CraftBukkit) (#8378) 2022-09-23 06:08:43 +01:00
ad4ca0a429 Also load resources from LibraryLoader (#8335) 2022-09-20 03:07:03 +02:00
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
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
d146ab42bd Missing eating regain reason (#8244) 2022-09-18 05:24:28 +02:00
d92d75fb7b Add custom destroyerIdentity parameter to the sendBlockBreak function (#5840) 2022-09-17 23:27:46 +02:00
39ae9b75e9 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:
9ae3f10f SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API
48c0c547 PR-786: Add methods to get sounds from entities

CraftBukkit Changes:
5cc9c022a SPIGOT-7152: Handle hand item changing during air interact event
4ffa1acf6 SPIGOT-7154: Players get kicked when interacting with a conversation
4daa21123 SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API
e5d6a9bbf PR-1100: Add methods to get sounds from entities
b7e9f1c8b SPIGOT-7146: Reduce use of Material switch in ItemMeta

Spigot Changes:
4c157bb4 Rebuild patches
2022-09-12 13:31:45 +02:00
2cb0061b0a Allow preventing BlockDestroyEvent from dropping items (#8349) 2022-09-08 16:13:50 +01:00
0446f518f4 Updated Upstream (Bukkit/CraftBukkit)
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:
0b32cbaa PR-782: ThrownPotion now extends ThrowableProjectile
474238ca SPIGOT-7138: Can't retrieve pixel color from map

CraftBukkit Changes:
cdef8fc72 PR-1097: CraftThrownPotion now extends CraftThrowableProjectile
419010b13 SPIGOT-7112: Mobs added 1.17 and after do not create an EntityTargetEvent properly
e71426201 SPIGOT-7079: Allays don't call EntityTargetEvent on ground items
f80adb8b9 SPIGOT-7138: Can't retrieve pixel color from map
2022-08-17 13:02:35 +02:00
1e9ec27588 More ThrownPotion API 2022-08-14 16:53:36 +02:00
89ee9379b2 Add NamespacedKey biome methods
Co-authored-by: Thonk <30448663+ExcessiveAmountsOfZombies@users.noreply.github.com>
2022-08-14 12:23:57 -04:00
a16e146a5b [ci skip] Show @org.bukkit.UndefinedNullability in javadocs (#8291) 2022-08-14 12:18:39 -04:00
e8d9f65042 Add method to get highest anger level of warden 2022-08-14 10:25:28 +02:00
d4b4d5b95b Updated Upstream (Bukkit/CraftBukkit) (#8270)
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:
d43a1e72 SPIGOT-2450: Improve scoreboard criteria API, add missing DisplaySlots
9d6e4847 SPIGOT-7122: New Allay Methods from 1.19.1

CraftBukkit Changes:
c379a6b4e SPIGOT-2450: Improve scoreboard criteria API, add missing DisplaySlots
051fcced1 SPIGOT-7122: New Allay Methods from 1.19.1
2022-08-09 09:18:08 +02:00
7e03e79e50 Improve documentation of Inventory#removeItem (#8263) 2022-08-07 23:17:51 -07:00
2782b0c375 1.19.2 (#8250) 2022-08-05 15:58:34 -07:00
522db24de0 Updated Upstream (Bukkit/CraftBukkit) (#8240)
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:
caa7c486 SPIGOT-7109: Add WorldBorder#setSize using TimeUnit

CraftBukkit Changes:
1e3bf58cd SPIGOT-7109: Add WorldBorder#setSize using TimeUnit
2022-08-05 07:10:44 -07:00
6fedc22e4b Remove RAW_COPPER and add COPPER_BLOCK in MaterialTags.UNWAXED_COPPER_BLOCKS and MaterialTags.COPPER_BLOCKS (#8237) 2022-08-05 11:57:21 +02:00
e77a4a70b7 Block Ticking API (#7202) 2022-08-03 17:14:04 -04:00
3669c95014 Don't call AsyncTabCompleteEvent from netty IO thread (#8218) 2022-08-01 21:56:28 +02:00
aea4847e26 Initial support for signed messages (#8198) 2022-08-01 12:34:55 -07:00
20a8246572 Undeprecate and fix Boat#getBoatMaterial (#8217) 2022-08-01 23:02:23 +10:00
f0d198d6b2 Undeprecate Bed's tile entity interface (#7330) 2022-07-31 11:25:24 -07:00
004e444f9b Fix issues with CreeperIgniteEvent (#7507) 2022-07-31 10:14:54 -07:00