Commit Graph
100 Commits
Author SHA1 Message Date
Jake Potrebic 5ceafb601c [ci skip] update editorconfig and gitattributes (#9608) 2023-08-21 19:16:03 -07:00
Jake Potrebic 1b4291893f Improve cancelling PreCreatureSpawnEvent with per player mob spawns (#9400) 2023-08-21 00:44:47 -07:00
Jake Potrebic 7e6bdb92a4 Properly handle BlockBreakEvent#isDropItems (#8936)
Setting whether a block break dropped items controlled
far more than just whether blocks dropped, like stat increases
food consumption, turtle egg count decreases, ice to water
conversions and beehive releases
2023-08-20 20:49:20 -07:00
Jake Potrebic 06ee045ab9 Deprecate and replace methods using deprecated StructureType (#8643) 2023-08-20 10:30:45 -07:00
Jake Potrebic 975d0562a7 API for an entity's scoreboard name (#9462)
Was obtainable through different methods, but you had to use different
methods depending on the implementation of Entity you were working with.
2023-08-20 09:06:09 -07:00
Jake Potrebic 975444e5d2 Updated Upstream (CraftBukkit/Spigot) (#9598)
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:
b76ceb4f5 PR-1235: Move EntityType return to base Entity class
e795d7490 SPIGOT-7458: Exception when Entity CommandSender executes Vanilla command
46c7fc3b1 SPIGOT-7452: Player#openSign cannot edit
d91e5aa0b SPIGOT-7447: Rewrite --forceUpgrade to minimise diff and properly handle CraftBukkit world layout
921ae06d6 Revert "SPIGOT-7447: Fix --forceUpgrade"

Spigot Changes:
94e187b5 Rebuild patches
3bce7935 SPIGOT-7091: Update bungeecord-chat
2023-08-13 16:32:51 -07:00
Jake Potrebic 224e38a0f6 Account for dimension type in portal void damage check (#9602) 2023-08-13 13:30:48 -07:00
Jake Potrebic 2e3118d02a Bandaid fix for Effect (#9548)
Effect or LevelEvent needs to be replaced
but ideally after the enum PR has been merged
upstream. Until then, this test and these fixes
should address all the known issues with them
2023-08-12 15:19:34 -07:00
Jake Potrebic 3d0d1cb6ae Add restrict-player-reloot-time config (#7652) 2023-08-12 14:26:47 -07:00
Jake Potrebic 99edfc5832 Respect randomizeData on more entities when spawning (#9483) 2023-08-08 16:07:59 -07:00
Jake Potrebic 7e8b2f31b7 Only capture actual tree growth (#6464) 2023-08-05 19:33:18 -07:00
Jake Potrebic 500d964dda API for updating recipes on clients (#6463) 2023-08-05 18:11:22 -07:00
Jake Potrebic 732f98a4bf Updated Upstream (Bukkit/CraftBukkit) (#9485)
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:
82af5dc6 SPIGOT-7396: Add PlayerSignOpenEvent
3f0281ca SPIGOT-7063, PR-763: Add DragonBattle#initiateRespawn with custom EnderCrystals
f83c8df4 PR-873: Add PlayerRecipeBookClickEvent
14560d39 SPIGOT-7435: Add TeleportCause#EXIT_BED
2cc6db92 SPIGOT-7422, PR-887: Add API to set sherds on decorated pots
36022f02 PR-883: Add ItemFactory#getSpawnEgg
12eb5c46 PR-881: Update Scoreboard Javadocs, remove explicit exception throwing
f6d8d44a PR-882: Add modern time API methods to ban API
21a7b710 Upgrade some Maven plugins to reduce warnings
11fd1225 PR-886: Deprecate the SmithingRecipe constructor as it now does nothing
dbd1761d SPIGOT-7406: Improve documentation for getDragonBattle

CraftBukkit Changes:
d548daac2 SPIGOT-7446: BlockState#update not updating a spawner's type to null
70e0bc050 SPIGOT-7447: Fix --forceUpgrade
6752f1d63 SPIGOT-7396: Add PlayerSignOpenEvent
847b4cad5 SPIGOT-7063, PR-1071: Add DragonBattle#initiateRespawn with custom EnderCrystals
c335a555f PR-1212: Add PlayerRecipeBookClickEvent
4be756ecb SPIGOT-7445: Fix opening smithing inventory
db70bd6ed SPIGOT-7441: Fix issue placing certain items in creative/op
f7fa6d993 SPIGOT-7435: Add TeleportCause#EXIT_BED
b435e8e8d SPIGOT-7349: Player#setDisplayName not working when message/format unmodified
a2fafdd1d PR-1232: Re-add fix for player rotation
7cf863de1 PR-1233: Remove some old MC bug fixes now fixed in vanilla
08ec344ad Fix ChunkGenerator#generateCaves never being called
5daeb502a SPIGOT-7422, PR-1228: Add API to set sherds on decorated pots
52faa6b32 PR-1224: Add ItemFactory#getSpawnEgg
01cae71b7 SPIGOT-7429: Fix LEFT_CLICK_AIR not working for passable entities and spectators
a94277a18 PR-1223: Remove non-existent scoreboard display name/prefix/suffix limits
36b107660 PR-1225: Add modern time API methods to ban API
59ead25bc Upgrade some Maven plugins to reduce warnings
202fc5c4e Increase outdated build delay
ce545de57 SPIGOT-7398: TextDisplay#setInterpolationDuration incorrectly updates the line width

Spigot Changes:
b41c46db Rebuild patches
3374045a SPIGOT-7431: Fix EntityMountEvent returning opposite entities
0ca4eb66 Rebuild patches
2023-08-05 17:21:59 -07:00
Jake Potrebic 780477bca5 Expand use of strict advancement dim check (#9545) 2023-08-05 12:26:28 -07:00
Jake Potrebic 94106a38f5 Fix treasure map config default (#9572) 2023-08-04 08:52:22 -07:00
Jake Potrebic 3089a6afe9 [ci skip] Clarify viewers set mutability in chat events (#9525) 2023-07-28 15:14:19 -07:00
Jake Potrebic 1f967356b8 Add Translatable interface to MusicInstrument (#9538) 2023-07-28 15:06:27 -07:00
Jake Potrebic cbfc2065f5 Add cause to PlayerOpenSignEvent (#9441)
Also fire the event for plugin-opened signs
2023-07-26 09:25:14 -07:00
Jake Potrebic 1a750538c3 Don't support hex in book title and author (#9493) 2023-07-22 20:40:52 -07:00
Jake Potrebic 299347e31d Fix hopper not marking source inv as changed (#9070) 2023-07-22 13:48:23 -07:00
Jake Potrebic 4b09cd7db0 Fix unbreakable flint and steel consumed when igniting creepers (#9509) 2023-07-19 09:16:39 -07:00
Jake PotrebicandBillyGalbreath a31e288c20 fix 2 vanilla issues (#8940)
Fix sheeps eating grass outside ticking chunks
Fix itemframe drops dropping in correct location

Co-authored-by: BillyGalbreath <blake.galbreath@gmail.com>
2023-07-15 13:28:28 -07:00
Jake Potrebic d606a559a4 Fix possible NPE on painting creation (#9391) 2023-07-13 17:22:15 -07:00
Jake Potrebic 3114e253ce Fix BanList API (#9450) 2023-07-13 14:43:45 -07:00
Jake Potrebic 5be287d725 Add Owner UUID api for AreaEffectCloud (#9364) 2023-07-13 14:26:42 -07:00
Jake Potrebic 7afebb7fb6 Fix missing item types in SlotType for armor change event (#9379)
Also added 2 parameterized tests to make sure this doesn't happen
again.
2023-07-13 13:09:26 -07:00
Jake Potrebic f78ebb6629 Fix mob breaking doors not spawning particles (#9443)
This is a vanilla issue reported as MC-263999
2023-07-13 12:11:27 -07:00
Jake Potrebic 8e59366f59 fix item meta for tadpole buckets (#9473) 2023-07-11 11:52:11 -07:00
Jake Potrebic 5004933f0d Add Sign#getInteractableSideFor (#9388) 2023-07-08 02:04:19 -07:00
Jake Potrebic c06ad72e31 Fix incorrect new blockdata in EntityChangeBlockEvent (#9445)
Also fixes EntityBreakDoorEvent not having the correct 'to' block data

Also standardizes how to handle EntityChangeBlockEvent before a removeBlock or destroyBlock
call. Always use 'state.getFluidState().createLegacyBlock()' to get the new state instead of
just using the 'air' state.
2023-07-07 10:25:36 -07:00
Jake Potrebic a7bb0d20d4 [ci skip] Use Nullable annotation for Entity source (#9435) 2023-07-06 20:38:46 -07:00
Jake Potrebic 13911ad3c2 [ci skip] add 'accepted' to Done project category (#9429) 2023-07-01 01:24:58 -07:00
Jake Potrebic 7a776d1395 Fix default permission for xp command (#9419) 2023-06-30 15:02:25 -07:00
Jake Potrebic 6671a56ff8 Improve command function perm level checks (#9411) 2023-06-28 23:18:28 -07:00
Jake Potrebic c163c4b6a9 Fix replenishable container entities save/load existing contents (#9417) 2023-06-28 11:06:47 -07:00
Jake Potrebic ab8df6ba8a Fix entity selectors while spectating (#9402) 2023-06-27 14:46:27 -07:00
Jake Potrebic 4f0fa96a00 Deprecate duplicate chat completion methods (#9401) 2023-06-27 01:18:59 -07:00
Jake Potrebic fb0fd871fe Add method to remove all active potion effects (#9361)
* Add method to remove all active potion effects

* use clear instead of removeAll
2023-06-17 21:10:13 -07:00
Jake Potrebic c975c477f7 Add trail ruins structure set seed in spigot config (#9327)
Also adds a server test to ensure the defaults match and that a seed
exists for each structure set
2023-06-17 12:12:23 -07:00
Jake Potrebic aa6d576fe0 Add method to get ungenerated chunk from long key (#9254)
Also added a missing deprecation for a location block key method
2023-06-17 11:43:08 -07:00
Jake Potrebic d555760ff6 Remove more outdated config settings (#9358) 2023-06-17 11:25:22 -07:00
Jake Potrebic 06ee6ab5d4 Remove stacktrace on exception from reading server.properties (#9296) 2023-06-16 19:27:45 -07:00
Jake Potrebic 26d93fcec4 Fix incorrect annotation on BrushableBlock#getItem (#9345) 2023-06-16 03:58:09 -07:00
Jake Potrebic 557ea82bf6 Updated Upstream (Bukkit/CraftBukkit) (#9342)
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:
fdff0cd4 PR-869: Add Enderman#teleport and Enderman#teleportTowards
dfd86ee7 Improve sendSignChange and related documentation
beced2b2 PR-867: Add Player#sendBlockUpdate to send tile entity updates

CraftBukkit Changes:
ad6d0cffb SPIGOT-7394: Fix another issue with sendSignChange
66c5ce4c7 SPIGOT-7391: Preserve vanilla sign json where not modified by event
ae3824f94 PR-1204: Add Enderman#teleport and Enderman#teleportTowards
5863a2eae Fix sendSignChange not working
4a7eadc97 PR-1201: Add Player#sendBlockUpdate to send tile entity updates
789324e30 Work around issue placing decorated pots
2023-06-16 03:28:31 -07:00
Jake Potrebic 8d5fa4f1ee Bump kyori's ansi to fix color bleed (#9346) 2023-06-15 09:24:01 -07:00
Jake Potrebic 56e39bc072 Re-add dropped patch during 1.20 update (#9344) 2023-06-14 17:52:28 -07:00
Jake Potrebic aa5e9d1d49 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9301) 2023-06-12 16:51:45 -07:00
Jake Potrebic 8df3a11758 fix incorrectly updated move vector checking patch (#9328) 2023-06-12 11:26:43 -07:00
Jake Potrebic a7397ad665 Fix SmithingInventory helper slot methods for 1.20 (#9325) 2023-06-12 10:04:53 -07:00
Jake Potrebic 4e7f46f6c3 correctly hide players from entity argument suggestions (#9245) 2023-06-10 18:15:43 -07:00
Jake Potrebic 120345dea6 Properly remove the experimental smithing inventory type (#9290) 2023-06-09 11:50:00 -07:00
Jake Potrebic fd6fd80508 Add API for waxed signs (#9291) 2023-06-09 11:32:20 -07:00
Jake Potrebic 0bd83b4c4d fix missing trigger entity for xp orb from breeding 2023-06-08 23:52:18 -07:00
Jake Potrebic 6dfe9ac1d8 add side to PlayerSignCommandPreprocessEvent 2023-06-08 22:57:24 -07:00
Jake Potrebic e450f54015 fix some more 1.20 tracking issues 2023-06-08 22:45:45 -07:00
Jake Potrebic 6cc19431ea Fix setListenerRange for calibrated sculk sensors 2023-06-08 22:35:52 -07:00
Jake Potrebic b3a92319b9 Ignore inline definitions of trim material & pattern 2023-06-08 21:53:37 -07:00
Jake Potrebic dfeaa10163 comment out update logic from build.gradle.kts 2023-06-08 21:31:56 -07:00
Jake Potrebic 6161cbb44c Add back Anti-Xray patch (#9283) 2023-06-08 21:29:58 -07:00
Jake Potrebic 350be363a0 fix not editable sign after openSign 2023-06-08 19:45:48 -07:00
Jake Potrebic 2d17363881 Updated Upstream (Bukkit)
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:
657df461 PR-686: Add missing trim patterns added in 1.20
2023-06-08 19:10:05 -07:00
Jake Potrebic 913720b65c add missing call to EntityInsideBlockEvent 2023-06-08 17:34:35 -07:00
Jake Potrebic a4e62bcb6e fix some failing tests 2023-06-08 17:25:21 -07:00
Jake Potrebic 6038cfb862 add missing block entity type to CraftBlockStates 2023-06-08 17:04:46 -07:00
Jake Potrebic 2a0a2d181f fix sculk npe 2023-06-08 16:56:02 -07:00
Jake Potrebic dc11e08746 more compile fixes 2023-06-08 14:13:43 -07:00
Jake Potrebic 957d248aff more compile fixes 2023-06-08 13:56:13 -07:00
Jake Potrebic 180fe2a014 fix some more compile issues 2023-06-08 12:35:20 -07:00
Jake Potrebic b7b98b0bd8 fix FullChunkAccess enum move (#9281) 2023-06-08 12:22:12 -07:00
Jake Potrebic ebe89a7928 fix more compile errors 2023-06-08 12:00:58 -07:00
Jake Potrebic 27c0ed55ea add some more patches back 2023-06-08 10:48:28 -07:00
Jake Potrebic f3124c37c5 add 1 more networking patch and add comments to dropped patches 2023-06-08 10:25:32 -07:00
Jake Potrebic e516ecfd45 apply a couple network patches 2023-06-08 09:09:43 -07:00
Jake Potrebic 8ca7fa95c0 fix defaulting join-classpath to true for plugin deps 2023-06-08 06:50:41 -07:00
Jake Potrebic 6dd5e33927 actually update to 1.20 2023-06-07 20:33:11 -07:00
Jake Potrebic 23b4c28b31 update reobf-mappings-patch.tiny 2023-06-07 20:30:34 -07:00
Jake Potrebic d6e3522bf4 signing off for now 2023-06-07 19:12:38 -07:00
Jake Potrebic 23f2b745cd some more stuffs 2023-06-07 19:04:01 -07:00
Jake Potrebic c6b7222da8 finished some more patches 2023-06-07 18:13:54 -07:00
Jake Potrebic e12c9ae0ed some more patches 2023-06-07 17:54:54 -07:00
Jake Potrebic bca9b424ba fix compile errors 2023-06-07 17:30:05 -07:00
Jake Potrebic 752fd058f1 45 more patches 2023-06-07 16:56:33 -07:00
Jake Potrebic 6e86dd9422 finish some more patches 2023-06-07 16:44:11 -07:00
Jake Potrebic ffc53909f5 even moaaar patches 2023-06-07 16:20:26 -07:00
Jake Potrebic c720ef617e even moar patches 2023-06-07 15:58:10 -07:00
Jake Potrebic 07ee610d8e more patches 2023-06-07 15:41:25 -07:00
Jake Potrebic 3121dbe3fe fix a bunch of compile errors 2023-06-07 15:28:06 -07:00
Jake Potrebic 074728fe8c more work and compile fixes 2023-06-07 15:12:41 -07:00
Jake Potrebic eb4be91142 fix some compile issues 2023-06-07 14:46:56 -07:00
Jake Potrebic c66a18ad54 [ci skip] Use a separate interface for bootstrapping (#9267) 2023-06-07 08:29:28 -07:00
Jake Potrebic 3b2ef3a215 Schedule several things for removal in 1.21 (#9041) 2023-06-07 06:47:32 -07:00
Jake Potrebic e36eed4507 [ci skip] Add missing deprecations for legacy MaterialData api (#9253) 2023-06-03 11:09:43 -07:00
Jake Potrebic 82325a9a90 [ci skip] add 'needs triage' label to invalid on issue close (#9252) 2023-06-03 10:43:38 -07:00
Jake Potrebic 48dc1eb2d1 Fixes and additions to projectile API (#9237) 2023-05-31 19:43:51 -07:00
Jake Potrebic 4f01e9d96f Expand PlayerItemMendEvent (#7382) 2023-05-31 16:58:25 -07:00
Jake Potrebic bb734246e6 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#9228)
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:
4727d326 Don't let Sign extend SignSide, mark API as experimental
9b29bdcc PR-845: Add preliminary support for multi sided signs

CraftBukkit Changes:
b346a5f6d PR-1170: Add preliminary support for multi sided signs
86c816189 Update SQLite version
d9324b4bc Fix addition of custom smithing trim / transform recipes

Spigot Changes:
7d7b241e Rebuild patches
2023-05-31 16:36:57 -07:00
Jake Potrebic a0a5615e6e Fix playing adventure sounds on World/Server (#8077) 2023-05-30 18:36:16 -07:00
Jake Potrebic b7479c89c3 Remove javadoc that doesn't apply to Paper (#9206) 2023-05-14 16:20:43 -07:00
Jake Potrebic 77aec31991 Removes some references to deprecated methods/types (#9043) 2023-04-15 18:13:59 -07:00
Jake Potrebic 1adb95d20a Fix a couple of bed bugs (#9112) 2023-04-10 15:12:22 -07:00