Commit graph

7419 commits

Author SHA1 Message Date
Owen1212055
cb9bc57e60 Return 0 if null for FireworkMeta (#8738) 2022-12-30 12:33:41 -05:00
Jake Potrebic
48768d68d6 Rework filtering spawn egg and tile entity nbt config (#6613) 2022-12-27 18:59:15 -08:00
SoSeDiK
49f3ef443a Expose pre-collision moving velocity to VehicleBlockCollisionEvent (#8457) 2022-12-28 00:56:19 +02:00
TreyRuffy
a0d9d433a3 Player Flying Fall Damage API (#5357) 2022-12-27 13:41:59 -07:00
Jake Potrebic
7c42959fb0 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
Jake Potrebic
d4d31bb847 Fix (again) Player#getPlayerProfile no such method error (#8722) 2022-12-26 04:34:23 -08:00
Owen1212055
e794bcecbd Respect SpigotConfig logCommands & fix stopDancing() NPE (#8715) 2022-12-25 23:22:08 -05:00
Jake Potrebic
99fb11f7ea Use team display name for quit message (#7127) 2022-12-25 08:57:54 -08:00
Owen1212055
5297d99a4e Tadpole lock API (#8297) 2022-12-23 15:50:32 -05:00
aerulion
6b4dfb9627 Add EntityPushedByEntityEvent (#7704) 2022-12-23 20:59:11 +01:00
TehBrian
0ece030a7d fix ArmorStandMeta not applying false flags (#8632) 2022-12-23 12:30:42 -05:00
Noah van der Aa
b8a1f20c8d Add config option for spider worldborder climbing (#6448)
Co-authored-by: BillyGalbreath <blake.galbreath@gmail.com>
2022-12-23 17:51:24 +01:00
Noah van der Aa
c2bee2c705 Expose signed message in chat events (#8694) 2022-12-23 16:54:04 +01:00
Jake Potrebic
424df4f743 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
Lulu13022002
3ee986cc2d Avoid to spam the transform event for hoglin->zoglin conversion (#8712) 2022-12-22 23:39:07 +01:00
Jake Potrebic
ae31085e6d Fix OfflinePlayer getPlayerProfile return type (#8710) 2022-12-21 20:30:21 -08:00
Nassim Jahnke
583c8afcd8 Fix buffer-joins-to-world patch 2022-12-21 22:55:42 +01:00
Jake Potrebic
b28618e07c Fix OfflinePlayer#getPlayerProfile returning deprecated type (#8543) 2022-12-20 10:56:33 -08:00
Jake Potrebic
d20d36a172 Add exploded block state to BlockExplodeEvent (#6818) 2022-12-19 21:09:51 -08:00
Nassim Jahnke
37a96734c7 Remove somewhat broken patch
With the new chunk system it doesn't hurt too much to (temporarily) remove this until implemented in a safer manner
2022-12-19 11:46:55 +01:00
Lulu13022002
03dad8f20a Add missing EntityChangeBlockEvent (#8696)
* Add missing EntityChangeBlockEvent

* Fix duplicate empty bottle when canceled for creative player

* Use native update impl instead of craftbukkit -> nms
2022-12-17 19:20:14 +01:00
Jake Potrebic
3394f6b808 Improve PortalEvents (#8679) 2022-12-17 09:36:02 -08:00
Thomas Meaney
f51e067bb5 [ci skip] Fix readme badge (#8693) 2022-12-17 09:53:49 +01:00
Jason Penilla
efaf778680 Fix reobf issue in previous commit 2022-12-17 00:46:46 -07:00
Jason Penilla
1de7f28233 ChatProcessor fixes (#8690)
Fixes handling for `ForwardingAudience.Single` and passes the signed message to non-native `Audience` types
2022-12-16 23:05:48 -07:00
Jake Potrebic
968a3ee539 Don't call lock check event if the block entity doesn't exist (#8687) 2022-12-16 13:31:51 -08:00
Jake Potrebic
deb2116724 Fix metrics reporting unknown paper version (#8683)
Co-authored-by: BillyGalbreath <Blake.Galbreath@GMail.com>
2022-12-16 09:37:06 -08:00
Jake Potrebic
deea75d745 Fix Player#chat for 1.19.3 (#8684) 2022-12-16 09:15:21 -08:00
Jake Potrebic
4567f41500 Updated Upstream (CraftBukkit) (#8680)
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

CraftBukkit Changes:
2ed3e3e6e SPIGOT-7210: Fix structures in custom worlds
585ab5ba1 SPIGOT-7207: WorldCreator creates world as super flat even when normal is specified
2022-12-15 17:16:34 -08:00
Jakub Žáček
fab251199d Add Sneaking API for Entities (#8485) 2022-12-15 20:43:14 +01:00
Jake Potrebic
b5ab281c29 Deprecate TargetBlock/EntityInfo and assocated methods (#7381) 2022-12-15 09:10:03 -08:00
Jake Potrebic
9eb6b1db93 Add BlockLockCheckEvent (#7840) 2022-12-15 08:49:49 -08:00
Nassim Jahnke
dd2051ae52 Remove guardian beam render issue workaround
Messing with game time sent to the client isn't worth the trouble whenever it may be used by the client now and in the future for such a small issue. Mojang, plz fix
2022-12-15 14:19:09 +01:00
Jake Potrebic
e28eb9ab05 Fix explosion yield with new gamerules (#8674) 2022-12-14 20:01:31 -08:00
Jake Potrebic
74e9dbfa19 Improve some logging and errors (#8673) 2022-12-14 19:54:43 -08:00
Jake Potrebic
96d7b7b6e4 Add more breakNaturally functionality (#7379) 2022-12-14 19:37:16 -08:00
Jake Potrebic
a0b62c40db Remove deprecated event warning for inventory result event (#8672) 2022-12-14 15:09:11 -08:00
Jake Potrebic
437103e45e Fix inconsistencies in dispense events regarding stack size (#8653)
* Fix inconsistencies in dispense events regarding stack size

The javadocs for BlockDispenseEvent suggest the ItemStack is a single
item which is being dispensed. Before this fix, sometimes it was the whole
stack before a single item had been taken. This fixes that so the stack size
is always 1.

* Ensure stack size is correct in minecart and armor dispense behaviors
2022-12-14 13:05:11 -08:00
Jake Potrebic
a4112a5c50 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
Jake Potrebic
e849888abb Fix fire charge not being consumed igniting a creeper (#8652) 2022-12-13 09:23:05 -08:00
Jason Penilla
dd1e3865e5 Update paperweight to 1.4.0 2022-12-13 10:09:15 -07:00
SoSeDiK
45821f2511 Fix locateNearestBiome nullability check (#8662) 2022-12-13 17:01:54 +02:00
Jake Potrebic
298cdefc8b [ci skip] add missing final newline (#8659) 2022-12-13 05:16:45 -08:00
EpicPlayerA10
851a363fad Fix death message containing empty string (#8656)
Resolves: #8654
2022-12-13 13:24:59 +01:00
Jake Potrebic
2c4d034313 Fix items equipped on AbstractHorse losing NBT (#8647)
* Fix items equipped on AbstractHorse losing NBT

* squash later mc fix into vanilla patch
2022-12-11 15:22:56 -08:00
Jake Potrebic
3a0963092a Add the non-flammable wood item tag (#8648) 2022-12-11 13:01:18 -08:00
Noah van der Aa
2b86179e7e [ci skip] Correct chat preview removal version in javadoc (#8646) 2022-12-11 19:34:31 +01:00
Jake Potrebic
e74fb06010 Deprecate isPreview method in decorate events (#8645) 2022-12-11 09:55:39 -08:00
Jason Penilla
cf2bb8381b [ci skip] Remove non-functioning patch 2022-12-10 21:40:18 -07:00
Jake Potrebic
63e191936d Add Position (#7639)
* Add Position

* move Position patch to start
2022-12-10 16:50:32 -08:00