Commit Graph
100 Commits
Author SHA1 Message Date
Jake Potrebic f73eefd668 Remove duplicate animate packet for records (#8600) 2023-04-02 11:05:30 -07:00
Jake Potrebic 799da8e341 Fix crash relating to bad recipes in furnace-like tile entities (#9011) 2023-03-29 19:29:38 -07:00
Jake Potrebic 7c76b259a5 Fix api checking banned ips (#9026) 2023-03-27 20:23:34 -07:00
Jake Potrebic cac66ac3cb Updated Upstream (CraftBukkit) (#9053)
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:
f92c94517 SPIGOT-7310: PlayerToggleSneakEvent is not called when a player sneaks while riding an entity
b5714184d SPIGOT-7316: Cancelling EntityUnmountEvent does not stop the all effects of the unmounting
e237f8c88 SPIGOT-7312: Entity#setVisibleByDefault on player causes skin reset on this player client
2023-03-26 13:29:41 -07:00
Jake Potrebic 75975263ef Fix beehives generating from using bonemeal (#9052) 2023-03-26 12:07:32 -07:00
Jake Potrebic 5326cb65f0 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9018)
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:
2c64d8c4 SPIGOT-7309: Add API for jukebox inventories
a6d7e4ca PR-826: Add Sniffer API

CraftBukkit Changes:
93813509b SPIGOT-7309: Add API for jukebox inventories
2d5209e8d PR-1153: Handle teleport reason in spreadplayers command
f5b61387e SPIGOT-7308: Fix NullPointerException when calling Jukebox#setRecord()
388d458a6 SPIGOT-7306: Fix reset of coords in default teleportTo in EntityPlayer
40b87e1af PR-1150: Add Sniffer API and handle EntityItemDropEvent

Spigot Changes:
6ad4b93c SPIGOT-7298: Fix debug stick always permission left click toggle
2023-03-24 13:38:40 -07:00
Jake Potrebic 02d5cb7b2b Don't warn for deprecated PrepareGrindstoneEvent (#9036) 2023-03-24 13:19:17 -07:00
Jake Potrebic 0adc18baf8 [ci skip] rebuild patches 2023-03-23 14:57:03 -07:00
Jake Potrebic 5ea4ace885 [ci skip] Properly document firing of Entity/BlockExplodeEvent (#9014) 2023-03-20 02:11:23 -07:00
Jake Potrebic edd270486c Updated Upstream (Bukkit/CraftBukkit) (#9013)
* 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:
150a2861 PR-827: Add BlockData#getPlacementMaterial
58c9c8ce SPIGOT-7301: Prevent creating non-openable inventories
3741079b PR-824: Expand upon PotionEffect API to better accommodate infinite durations

CraftBukkit Changes:
e5a7921f0 PR-1149: Add BlockData#getPlacementMaterial
58504fa61 SPIGOT-7302: Fix more issues with EntityDamageByEntity - Fix Projectile damage by dispenser - Fix cases where only exists a direct entity damager
48394703d Increase outdated build delay

* Improve docs for BlockData#getPlacementMaterial
2023-03-20 01:47:10 -07:00
Jake Potrebic 4015d08acf Use class loggers without the fqn for non-debug logging (#9012) 2023-03-20 01:23:52 -07:00
Jake Potrebic 82f1c94258 update paperclip to 3.0.3 2023-03-19 22:18:33 -07:00
Jake Potrebic 72dde6b5dd Fire reload event after everything has been reloaded (#9003)
This event is going to be more important very shortly (hopefully)
2023-03-19 12:28:28 -07:00
Jake Potrebic 3db404320a Fix entity damage event triggers (#8995) 2023-03-19 11:58:34 -07:00
Jake Potrebic 40b2d389d2 Add back optimize hoppers (#8999) 2023-03-18 12:03:42 -07:00
Jake Potrebic 36af2d581a Fix SpawnEggMeta#get/setSpawnedType (#8907) 2023-03-18 10:32:03 -07:00
Jake Potrebic 0d1524d04f Updated Upstream (Bukkit/CraftBukkit) (#8991)
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:
2b4582fb SPIGOT-5916: getLastColors does not work with the rgb colors

CraftBukkit Changes:
f7707086d SPIGOT-7299: Fix indirect/anvil damage events and minor improvements
2023-03-18 10:05:04 -07:00
Jake Potrebic b89c5fac03 Fix reobf creating unintentional overrides (#8992) 2023-03-17 11:23:15 -07:00
Jake Potrebic f104213baf Fix certain inventories returning null Locations (#8985) 2023-03-16 11:47:05 -07:00
Jake Potrebic a05865b56b Fix structure loading 2023-03-15 18:57:29 -07:00
Jake Potrebic 06335dfd4f 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:
3a54fb16 SPIGOT-7296: Add ItemFlag#HIDE_ARMOR_TRIM

CraftBukkit Changes:
55056ad80 SPIGOT-7295: Fix Sniffer data defined in incorrect position
2023-03-15 12:59:34 -07:00
Jake Potrebic 239e16a2be 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:
fdef9473 Correct Material#isFuel for new experimental materials
42811598 SPIGOT-7293: Add Biome#CHERRY_GROVE

CraftBukkit Changes:
968d28df0 Fix availability of experimental datapack features in unit tests
2023-03-15 04:54:45 -07:00
Jake Potrebic 6e1f2c32b7 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:
02ff2f89 SPIGOT-7292: Deprecate display color APIs while specifics are worked out

CraftBukkit Changes:
703575fc7 SPIGOT-7291: Fix spurious invert in ender pearl disconnect check
2023-03-14 22:27:45 -07:00
Jake Potrebic d583bb93e8 HIDE_UPGRADES and fixes for sniffer and new smithing table 2023-03-14 20:04:41 -07:00
Jake Potrebic 69de1e5d07 Fix jukeboxes 2023-03-14 19:17:28 -07:00
Jake Potrebic 286598313a Fix composter throwing UOE with new game event 2023-03-14 18:27:20 -07:00
Jake Potrebic 69697c6a22 Add back item entity global player list check 2023-03-14 17:36:12 -07:00
Jake Potrebic 5f756cc090 make tests work again 2023-03-14 17:21:35 -07:00
Jake Potrebic 7c04e01288 Add missing annotation 2023-03-14 17:08:41 -07:00
Jake Potrebic 95fa3274e9 readd exploded block state patch 2023-03-14 17:06:28 -07:00
Jake Potrebic 5900d6bba8 Add component methods to TextDisplay entity 2023-03-14 16:52:28 -07:00
Jake Potrebic f496b60138 Fix icon in timings 2023-03-14 16:44:53 -07:00
Jake Potrebic 62d13109b7 make tests pass 2023-03-14 16:29:38 -07:00
Jake Potrebic 8b4edb6f19 fix more compile errors 2023-03-14 16:10:18 -07:00
Jake Potrebic e277e6a990 fix some compile errors 2023-03-14 15:13:41 -07:00
Jake Potrebic 4ccad29fa5 Use adventure serializer when serializing an adventure component in a codec (#8967) 2023-03-14 13:27:18 -07:00
Jake Potrebic d2bcd5358b Add more experimental annotations 2023-03-14 12:47:27 -07:00
Jake Potrebic c02edac0c7 update adventure docs link in bungeecord-chat javadocs 2023-03-14 11:59:28 -07:00
Jake Potrebic 9b045d1065 update reobf-mappings-patch.tiny 2023-03-14 11:46:59 -07:00
Jake Potrebic f29f49ac23 mark experimental api correctly and add missing isFuel 2023-03-14 11:08:29 -07:00
Jake Potrebic 627c3d4475 Properly handle load before plugins in legacy loading (#8962) 2023-03-12 11:00:02 -07:00
Jake Potrebic d24a71e85d Updated Upstream (Bukkit/CraftBukkit/Spigot) (#8874)
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:
6b3c598b PR-814: Add a method to send multiple equipment changes
181a984b Update Maven shade version to align with CraftBukkit
a5a36e32 Revert "Update Maven shade version to align with CraftBukkit"
7a8f4a42 Update Maven shade version to align with CraftBukkit
58327201 Add support for Java 20

CraftBukkit Changes:
b56426c7a PR-1142: Calculate explosion damage separately for each affected EntityComplexPart
fbe3410af PR-1140: Add a method to send multiple equipment changes
8434e3633 Add support for Java 20
c998a1d23 Increase outdated build delay
4a929b5d6 SPIGOT-7267: Fix EntityType#getTranslationKey() and add unit test
086d8dc8a SPIGOT-7268: CraftMetaPotion reads ShowParticles and ShowIcon properties incorrectly
8ba5e399e SPIGOT-7262: Improve visibility API

Spigot Changes:
a2190e30 Rebuild patches
2023-03-10 12:18:50 -08:00
Jake Potrebic 449be4e304 Correctly handle ArmorStand invisibility (#8944) 2023-03-06 10:17:03 -08:00
Jake Potrebic 7fcf565d9c Use configured log prefix for spigot library loading (#7934) 2023-03-05 11:02:52 -08:00
Jake Potrebic 1c67f8204d Fix HumanEntity#drop not updating the client inventory (#6761) 2023-03-04 14:57:02 -08:00
Jake Potrebic f8ba85ffbf Replace ConfiguredStructure api with Structure (#8642) 2023-02-28 08:36:01 -08:00
Jake Potrebic 6910253909 fix runServer tasks 2023-02-27 16:30:33 -08:00
Jake Potrebic 017665b793 Fix forced respawn with respawn anchor (#8845) 2023-02-26 09:38:42 -08:00
Jake Potrebic f042d06125 Fix NamespacedKey#equals not accepting other Key types (#8919) 2023-02-26 06:59:52 -08:00
Jake Potrebic 5f73b95e43 Fix chat messages logged in console (#8872) 2023-02-23 01:37:18 -08:00
Jake Potrebic a59536946b Properly log any Throwable on plugin class creation (#8897) 2023-02-23 01:36:45 -08:00
Jake Potrebic eb56bf3058 Fix update folder logging error when no folder exists (#8891) 2023-02-22 12:17:58 -08:00
Jake Potrebic ee1dffb8d5 Fix JavaPlugin static getPlugin methods (#8888) 2023-02-21 19:27:49 -08:00
Jake Potrebic 37d171544a Further clarify functionality of damageItemStack methods (#8878) 2023-02-21 09:35:25 -08:00
Jake Potrebic 5d777995f4 Fix calling UnknownCommandEvent (#8232) 2023-02-16 18:07:30 -08:00
Jake Potrebic b15172bc8e Make sure Registry is loaded after Bukkit.setServer() (#8853) 2023-02-15 15:00:22 -08:00
Jake Potrebic f9e1ad2c2d Updated Upstream (Bukkit/CraftBukkit) (#8832)
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:
37262de8 PR-812: Add Registry#match(String)
d6b40162 SPIGOT-4569: Add more BlockData API
f9691891 PR-809: Throw a more clear error for BlockIterators with zero direction, add Vector#isZero()
91e79e19 PR-804: Added methods to get translation keys for materials, itemstacks and more
426b00d3 PR-795: Add new BiomeParameterPoint passed to BiomeProvider#getBiome
0e91ea52 SPIGOT-7224: Add events for brewing stands and campfires starting their actions

CraftBukkit Changes:
a50301aa5 Fix issues with fluid tag conversion and fluid #isTagged
6aeb5e4c3 SPIGOT-4569: Implement more BlockData API
7dbf862c2 PR-1131: Added methods to get translation keys for materials, itemstacks and more
7167588b1 PR-1117: Add new BiomeParameterPoint passed to BiomeProvider#getBiome
7c44152eb SPIGOT-7224: Add events for brewing stands and campfires starting their actions
2023-02-15 14:10:14 -08:00
Jake Potrebic bd166747a6 convert API/server tests to mockito (#8848)
* convert API tests to mockito

* convert server tests to mockito

* add co-author
2023-02-15 13:27:40 -08:00
Jake Potrebic ffc1cf92a1 Add missing isFuel Material entries (#8843) 2023-02-12 13:02:01 -08:00
Jake Potrebic 5fba40cc67 Updated Upstream (Bukkit/CraftBukkit) (#8823) 2023-02-07 07:55:53 -08:00
Jake Potrebic 3212d9fcf5 Deprecate duplicate API for arrow stuck count (#8829) 2023-02-07 07:43:20 -08:00
Jake Potrebic 72de51c57a Fix force-opening enchantment tables (#8820) 2023-01-27 13:01:36 -08:00
Jake Potrebic b727bda1b0 Updated Upstream (CraftBukkit/Spigot) (#8815)
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:
ab8ace685 SPIGOT-7236: Bone meal doesn't increase use statistic
7dcb59b8e Avoid switch on material in previous commit

Spigot Changes:
19641c75 SPIGOT-7235: World.Spigot#strikeLightningEffect doesn't do anything
2023-01-27 12:52:04 -08:00
Jake Potrebic bf239d382f Fix some explosion damage not scaling with difficulty (#8767)
Fixes https://github.com/PaperMC/Paper/issues/8735
2023-01-11 17:10:45 -08:00
Jake Potrebic 97690710b3 Fix treasure map config for loot tables (#8739) 2023-01-10 04:09:19 -08:00
Jake Potrebic 3ee1c5bf3f Use single player info update packet on join (#8773) 2023-01-08 18:46:54 -08:00
Jake Potrebic 9473cd8981 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
Jake Potrebic 48768d68d6 Rework filtering spawn egg and tile entity nbt config (#6613) 2022-12-27 18:59:15 -08: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
Jake Potrebic 99fb11f7ea Use team display name for quit message (#7127) 2022-12-25 08:57:54 -08: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
Jake Potrebic ae31085e6d Fix OfflinePlayer getPlayerProfile return type (#8710) 2022-12-21 20:30:21 -08: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
Jake Potrebic 3394f6b808 Improve PortalEvents (#8679) 2022-12-17 09:36:02 -08: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 PotrebicandBillyGalbreath 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
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
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
Jake Potrebic 298cdefc8b [ci skip] add missing final newline (#8659) 2022-12-13 05:16:45 -08: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
Jake Potrebic e74fb06010 Deprecate isPreview method in decorate events (#8645) 2022-12-11 09:55:39 -08:00
Jake Potrebic 63e191936d Add Position (#7639)
* Add Position

* move Position patch to start
2022-12-10 16:50:32 -08:00
Jake Potrebic 09c45d4cab Fix empty effect clouds from lingering potions (#8641) 2022-12-10 14:52:37 -08:00
Jake Potrebic f976ec6b19 Fix MapLike Codec missing key 'selector' (#8634)
* Fix MapLike Codec missing key 'selector'

* Make sure a new instance is created each time
2022-12-10 09:04:27 -08:00
Jake Potrebic ad6b5121b7 Properly identify golem spawn reason (#8635) 2022-12-09 16:37:03 -08:00
Jake Potrebic 7332b8c2c4 Readd improve/fix EntityTargetLivingEntityEvent (#8630) 2022-12-09 03:30:55 -08:00
Jake Potrebic 7c8a0e8e83 Add new 1.19.3 fires of EntityInsideBlockEvent (#8629) 2022-12-09 02:46:47 -08:00
Jake Potrebic ff9d51df21 last instrument fix, I promise 2022-12-09 02:03:06 -08:00