Commit graph

609 Commits

Autor SHA1 Nachricht Datum
Aya
b1b19b67f2
[ci skip] Fix PiglinBarterEvent JavaDoc (#8795) 2023-01-22 19:33:21 +01:00
Andreas Prues
b082d8970b
Win Screen API (#8802) 2023-01-22 14:21:45 +01:00
Aya
2eca2a27b0
Add Player#sendEquipmentChange(Map) API (#8800) 2023-01-22 14:00:37 +01:00
alex6777
567ff90111
Don't clone location in PreCreatureSpawnEvent (#8790) 2023-01-16 16:03:58 +01:00
Nassim Jahnke
b29e07bebd
[ci skip] Fix instrument reference in item specific hide flag docs 2023-01-05 20:28:43 +01:00
Nassim Jahnke
940c9a3493
Replace ItemFlag.HIDE_POTION_EFFECTS (#8765) 2023-01-05 11:54:21 +01:00
Jake Potrebic
51cfcc88da
Updated Upstream (Bukkit/CraftBukkit) (#8740)
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:
d352d965 SPIGOT-7221: Add Enemy (Entity) interface

CraftBukkit Changes:
397c5557c SPIGOT-7221: Add Enemy (Entity) interface
a0d3dfaf2 PR-1129: Fix state corruption while handling explosion damage on EntityComplexPart
d67777f8b SPIGOT-7218: Player's outer layer of skin disappears after respawn
2023-01-01 12:17:40 -08:00
Lulu13022002
ddd8745d14
[ci skip] Fix hoglin conversionTime javadoc (#8734) 2022-12-30 15:08:02 -05:00
SoSeDiK
fa42c68b73
Expose pre-collision moving velocity to VehicleBlockCollisionEvent (#8457) 2022-12-27 16:56:19 -06:00
TreyRuffy
2040c1ec71
Player Flying Fall Damage API (#5357) 2022-12-27 14:41:59 -06:00
Jake Potrebic
52718dba10
Updated Upstream (Bukkit/CraftBukkit) (#8714)
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:
aef9b6d2 PR-800: Add support for NoteBlock sounds in Skulls

CraftBukkit Changes:
ae8f5fc02 PR-1125: Add support for NoteBlock sounds in Skulls
0a1c89e4b SPIGOT-7212: Allow negative firework power
909a246af SPIGOT-7211: generateTree() with Consumer or Predicate is broken
c810c3ed8 Increase outdated build delay
2022-12-26 09:53:35 -08:00
Owen
f26e9ccdd0
Tadpole lock API (#8297) 2022-12-23 14:50:32 -06:00
aerulion
47abd1c50c
Add EntityPushedByEntityEvent (#7704) 2022-12-23 13:59:11 -06:00
Noah van der Aa
c59922d94e
Expose signed message in chat events (#8694) 2022-12-23 09:54:04 -06:00
Jake Potrebic
8e83c3c7b4
Deprecate ProjectileCollideEvent (#8678)
replaced by ProjectileHitEvent
propagated the cancellation of the legacy event
to the modern one
2022-12-22 21:20:44 -08:00
Jake Potrebic
048ee5872d
Fix OfflinePlayer getPlayerProfile return type (#8710) 2022-12-21 20:30:21 -08:00
Jake Potrebic
c1bca9ad34
Add exploded block state to BlockExplodeEvent (#6818) 2022-12-19 21:09:51 -08:00
Jake Potrebic
f7a13449e2
Improve PortalEvents (#8679) 2022-12-17 09:36:02 -08:00
Jakub Žáček
28c7d40326
Add Sneaking API for Entities (#8485) 2022-12-15 11:43:14 -08:00
Jake Potrebic
0262de0ddb
Deprecate TargetBlock/EntityInfo and assocated methods (#7381) 2022-12-15 09:10:03 -08:00
Jake Potrebic
3aec8630bb
Add BlockLockCheckEvent (#7840) 2022-12-15 08:49:49 -08:00
Jake Potrebic
66437d059f
Add more breakNaturally functionality (#7379) 2022-12-14 19:37:16 -08:00
Jake Potrebic
1c535f96ac
Remove deprecated event warning for inventory result event (#8672) 2022-12-14 15:09:11 -08:00
Jake Potrebic
c919e944ff
Updated Upstream (Bukkit/CraftBukkit) (#8663)
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:
f50ad1f8 PR-798: Add PrepareGrindstoneEvent and refactor related events to use PrepareInventoryResultEvent
0cac7963 SPIGOT-7204: Add TeleportCause#DISMOUNT
b4dd47b0 SPIGOT-7202: Deprecate removed door effects

CraftBukkit Changes:
ab1586c2f PR-1123: Add PrepareGrindstoneEvent
b402824ea SPIGOT-7204: Add TeleportCause#DISMOUNT
06a6a1012 PR-1121: Add unit test for spawn egg meta
c18668be3 SPIGOT-7192: Call PlayerInteractEvent with Action.LEFT_CLICK_AIR if the entity interacted is hidden to the player
47124f639 Increase outdated build delay
645993470 SPIGOT-7201: Spawner ItemMeta not working as expected
2022-12-13 21:03:57 -08:00
EpicPlayerA10
1845cec507
Fix death message containing empty string (#8656)
Resolves: #8654
2022-12-13 13:24:59 +01:00
Jake Potrebic
eeeb8d5adc
Add the non-flammable wood item tag (#8648) 2022-12-11 13:01:18 -08:00
Noah van der Aa
a5ecfd6c30
[ci skip] Correct chat preview removal version in javadoc (#8646) 2022-12-11 18:34:31 +00:00
Jake Potrebic
d8cf30dfd1
Deprecate isPreview method in decorate events (#8645) 2022-12-11 09:55:39 -08:00
Jake Potrebic
1143b63663
Add Position (#7639)
* Add Position

* move Position patch to start
2022-12-10 16:50:32 -08:00
Lulu13022002
812efd3826
Fix chunksnapshot biome getter (#8639) 2022-12-10 14:11:39 +01:00
Owen
ec772bb8b8
Rabbit API (#8627) 2022-12-09 18:56:13 -06:00
Jake Potrebic
20549ff2d7
Add new 1.19.3 fires of EntityInsideBlockEvent (#8629) 2022-12-09 02:46:47 -08:00
Jake Potrebic
2ad5f6f66b
couple more instrument/note fixes 2022-12-09 01:49:15 -08:00
Jake Potrebic
9495a33cc9
fix Instruments 2022-12-09 01:34:39 -08:00
Jake Potrebic
c7c3cf1dd7
Mark experimental api as such (#8628) 2022-12-09 10:13:22 +01:00
Owen
df1f4ac26d
Update adventure (#8625) 2022-12-09 10:11:28 +01:00
Jason
f97bb11e4b
Account for splash water bottles now extinguishing entities (#8622)
* Account for splash water bottles now extinguishing entities

* improvements and javadocs

* reorder patches

* rename event to WaterBottleSplashEvent

Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2022-12-08 16:33:22 -08:00
Owen
b2043f1c3a
Deprecate PluginLoader and impls (#8619) 2022-12-08 22:27:37 +01:00
Jake Potrebic
9bace84b44
check now succeeds 2022-12-08 10:23:12 -08:00
Jake Potrebic
49f57cc170
fix some tests and DoNotUse violations 2022-12-08 09:47:29 -08:00
Nassim Jahnke
dfab659e53
Moar, fix API 2022-12-07 19:52:24 +01:00
Nassim Jahnke
fd58a696cb
API patches 2022-12-07 17:46:46 +01:00
Jake Potrebic
476ef25d05
Add missing Fluid type (#8608) 2022-12-06 10:41:04 -08:00
Yannick Lamprecht
96fdafd935
Player Entity Tracking Events (#4722) 2022-12-03 16:46:38 -06:00
Jake Potrebic
ec6a9a3e47
Updated Upstream (Bukkit/CraftBukkit) (#8604)
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:
38866413 SPIGOT-6765: Pass WorldInfo, Random and coordinates to ChunkGenerator should methods

CraftBukkit Changes:
f3dab3a48 SPIGOT-7191: TNT minecart explosions crash the server
b5aa0bed9 SPIGOT-7184: ExplosionPrimeEvent not called for ExplosiveMinecart
e7aab5493 SPIGOT-6765: Pass WorldInfo, Random and coordinates to ChunkGenerator should methods
2022-12-03 10:19:09 -08:00
Jason
f1583fcd74
Add /paper dumplisteners tofile and increase detail of command output (#8592) 2022-11-26 10:36:11 -07:00
Owen
f59c802697
Schoolable Fish API (#7089) 2022-11-25 20:21:40 -06:00
SoSeDiK
4048d3ec68
Allow using degrees for ArmorStand rotations (#7847) 2022-11-25 19:42:30 -06:00
Noah van der Aa
9f7eef81fd
Friction API (#6611) 2022-11-25 18:23:12 -06:00
Kezz
44bb5992ce
Add Tick TemporalUnit (#5445) 2022-11-25 15:05:42 -06:00
Jake Potrebic
d98c370fb5
Add displayName methods for advancements (#8584) 2022-11-24 23:05:48 -08:00
Jake Potrebic
414ea80d74
ItemStack damage API (#7801) 2022-11-24 22:52:00 -08:00
Warrior
8aff07afb0
Add /paper dumplisteners command (#8507)
Co-authored-by: Jason Penilla <11360596+jpenilla@users.noreply.github.com>
Co-authored-by: TwoLeggedCat <80929284+TwoLeggedCat@users.noreply.github.com>
2022-11-23 16:28:38 -06:00
Lulu13022002
da230d521c
More vanilla friendly methods to update trades (#8478) 2022-11-23 15:38:49 -06:00
Jake Potrebic
e6e37ba5d7
Add api to resolve components (#7648) 2022-11-22 20:53:50 -08:00
Jakub Žáček
a7df847aad
Add Player Warden Warning API (#8470) 2022-11-20 12:53:58 -06:00
Jake Potrebic
b95d4b28b8
Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
Owen
5f4952fbce
Cleanup reputation API + back with an EnumMap instead of array (#8258)
Resolves: #7142
2022-11-12 18:41:22 +01:00
Owen
117579c6bb
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
3d15120f7e
Fix Advancement#getDisplay() api break (#8541) 2022-11-04 15:59:15 -07:00
Astro Angelfish
8ee344f18e
[ci-skip] Rename Paper stop tp Paper end. (#8539) 2022-11-04 16:08:01 +00:00
Lulu13022002
ebc0f6bfb5
Call PlayerLaunchProjectileEvent for trident (#8027) 2022-11-03 19:43:50 +01:00
Jake Potrebic
b3b04f2ca1
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
Owen
aaf5e3997f
Deprecate unused VehicleEntityCollisionEvent methods (#8498) 2022-10-29 12:18:17 -05:00
Hannes Greule
8a4b752fe2
Fix wrong descriptor in ASMEventExecutorGenerator (#8506) 2022-10-27 19:27:33 -05:00
Noah van der Aa
2432233d24
Add allow server listing & text filtering client options (#7595) 2022-10-26 18:09:03 -05:00
Jake Potrebic
44ce9b3e9c
Updated Upstream (Bukkit/Spigot) (#8445) 2022-10-23 10:41:34 -07:00
Owen
0b8f40cf6a
Don't fire EntityToggleSitEvent on deserialization & reorder some api patches (#8495) 2022-10-22 21:55:28 -05:00
Owen
6665076342
Add Moving Piston API (#7019) 2022-10-22 19:37:37 -05:00
SoSeDiK
d713b47b14
Add EquipmentSlot convenience methods (#8477) 2022-10-22 18:50:12 -05:00
IEatBeans
6ea5aa37bd
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 17:20:52 -05:00
thelooter
3d50709776
Add MaterialTags for the different Types of Tools (#8049)
* Add MaterialTags for the different Types of Tools

* Add Netherite Tools Tag
2022-10-22 16:51:34 -05:00
Jason
3dcfec4499
Add stacktrace deobfuscation in more places (#8484) 2022-10-18 19:21:07 -07:00
Melncat
ed2c88ba89
Add LivingEntity knockback API (#8479) 2022-10-18 09:33:58 +02:00
Jakub Žáček
7d64d7ce77
Add converted Slot number to PlayerInventorySlotChangeEvent (#8482) 2022-10-18 09:32:22 +02:00
SoSeDiK
236a29623c
Add LivingEntity#swingHand(EquipmentSlot) convenience method (#8456) 2022-10-16 13:49:56 +02:00
Jakub Žáček
ec00f991a4
Fix package for PlayerInventorySlotChangeEvent (#8475)
Co-authored-by: Jakub Zacek <dawon@dawon.eu>
2022-10-16 08:49:47 +01:00
Lexi
b560034488
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 21:20:12 +02:00
SoSeDiK
eb68bd49a2
Allow changing bed's 'occupied' property (#8458) 2022-10-14 10:37:01 +02:00
Lulu13022002
0bdf9973cd
Avoid cycle deprecation (#8466) 2022-10-13 13:52:04 +02:00
SoSeDiK
514a60647d
Elder Guardian appearance API (#8455) 2022-10-13 12:26:51 +02:00
Jakub Žáček
de2d2d4d94
Add PlayerInventorySlotChangeEvent (#7321) 2022-10-11 22:49:10 +01:00
Owen
6b26cfcd31
Add missing Entity + Projectile API (#7632) 2022-10-11 22:04:26 +01:00
SoSeDiK
b097a241c0
Expose isUnderWater to Entity (#8454) 2022-10-11 14:43:10 +02:00
Jake Potrebic
77a50b95da
Add Unmodifiable annotations to getDrops methods (#8440) 2022-10-07 20:51:54 +02:00
Nassim Jahnke
011caa4d8e
[ci skip] Minor patch cleanup 2022-10-03 19:07:03 +02:00
Nassim Jahnke
928bcc8d3a
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
6d1409316e
Add getDrops to BlockState and isPreferredTool to BlockData (#8284) 2022-10-01 12:30:00 +02:00
Nassim Jahnke
e9618f8780
Add system property to dump stack on bad plugin class access (#8417) 2022-10-01 11:49:27 +02:00
Jake Potrebic
f7d16f656a
Fixes a couple issues with entity spawn reasons (#8390) 2022-09-27 01:24:56 +01:00
Nassim Jahnke
b58c0cf14a
Update snekyaml 2022-09-26 19:47:22 +02:00
Bjarne Koll
abe53a7eb4
Fix typos in isTickingWorlds API javadocs (#8382) 2022-09-25 01:01:17 +01:00
Lulu13022002
6d630052fd
Fix setEggCount method from TurtleLayEggEvent (#8385) 2022-09-24 18:34:20 +02:00
willkroboth
4d52f1d247
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 06:19:05 +01:00
Shane Freeder
3996e6ef29
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
f528f53e81
Correct javadocs on PlayerArmorStandManipulateEvent (#7719) 2022-09-23 06:55:02 +01:00
Shane Freeder
980c1d1f90
Updated Upstream (Bukkit/CraftBukkit) (#8378) 2022-09-23 06:08:43 +01:00
tahmid-23
f7e68091a0
Fix Pathfinding After World Has Changed (#8068) 2022-09-20 02:39:46 +01:00
Nick Hensel
f8742e26cc
Also load resources from LibraryLoader (#8335) 2022-09-20 02:07:03 +01:00
Shane Freeder
dbc2d60ce0
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