Commit Graph

5980 Commits

Author SHA1 Message Date
Jason Penilla 713b774a85 [ci skip] Use commit timestamp instead of build time in manifest (#6161) 2021-07-11 23:24:48 -07:00
Jake Potrebic 67e2594825 Fix command signs (#6139) 2021-07-11 11:06:49 -07:00
Jake Potrebic 5ce2cd8c05 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#6149)
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:
17c35d6e SPIGOT-6637: Revert "#636: Add FurnaceStartSmeltEvent"
4b27230b SPIGOT-6623: Missing API reasons for entity freezing
e1528c85 #636: Add FurnaceStartSmeltEvent

CraftBukkit Changes:
a6292cc3 SPIGOT-6637: Revert "#874: Add FurnaceStartSmeltEvent"
f4066854 SPIGOT-6579: DragonFireBall movement with setDirection jumps around a lot
9add952b SPIGOT-6623: Missing API reasons for entity freezing
2ea359f1 #874: Add FurnaceStartSmeltEvent
be8d625e SPIGOT-5560, SPIGOT-6574, SPIGOT-6632: Remove no longer needed tile entity fix

Spigot Changes:
eac3cd96 Rebuild patches
2021-07-11 00:01:29 -07:00
Jake Potrebic f359da1843 Fix NPE from using wrong ProtoChunk ctor (#6147) 2021-07-10 13:17:47 -07:00
Jake Potrebic dcdec7d59c Add config for mobs immune to default effects (#4835) 2021-07-09 21:49:49 -07:00
Jake Potrebic ee11682d4d fixed kick event leave message (#4766) 2021-07-09 12:03:28 -07:00
Nassim Jahnke 081a882f94 Updated Upstream (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

CraftBukkit Changes:
b5d7883a SPIGOT-6634: Override needed method
99561c21 SPIGOT-6624: Explosions do not destroy blocks out of vanilla heights in custom dimensions
2021-07-09 16:08:42 +02:00
Jake Potrebic fc955009ca Add PlayerArmSwingEvent (#5353) 2021-07-09 06:56:30 -07:00
Xemorr d81fd123ce Swapped out Vec3#distanceTo call with a Vec3#distanceToSqr call to remove calls to Math.sqrt 2021-07-07 20:58:54 +01:00
Jake Potrebic 2c55fce23e Fix collisions during world generation (#6129) 2021-07-09 03:16:57 -07:00
Jason Penilla 5fe7fbd769 [ci skip] Add a test plugin (#6133) 2021-07-09 03:04:33 -07:00
Jason Penilla 43e9be4586 [ci skip] Remove extra newlines at EOF (#6127) 2021-07-08 18:40:24 -07:00
Bjarne Koll fc1a197de2 Ensure shulker bounding box is updated (#6010)
Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com>
2021-07-09 03:18:32 +02:00
Pedro Arenas 08e9f148f9 [ci skip] More badges and things to README.md (#5338)
* Update README.md

* Update README.md

Remove license badge and fix letters

* Update README.md

* Update README.md

Many many time in this PR... now pass to java 16

* Update README.md

Add discord badge

* Update README.md

Fix format

* Update README.md

Change url to patches (because Spigot-API-Patches change)

* Update README.md

* Update README.md

Apply suggest url to patches

Co-authored-by: Olivia <chew@chew.pw>

* Update README.md

Update paper version from 1.17 to 1.17.1

* Update README.md

A better badge for discord (IRC not have a custom badge or any...)

* Update README.md

Update style.

Co-authored-by: Olivia <chew@chew.pw>
2021-07-08 10:41:46 -04:00
Jake Potrebic 9d46f898d9 Fix cancelling EntityPickupItemEvent for villagers (#6091)
Remove's Billy's fix as upstream implemented a (broken) fix and then fixed their fix
2021-07-07 11:07:38 -07:00
Nassim Jahnke 2689c8d04f Drop no longer needed patch (#6115) 2021-07-07 19:18:05 +02:00
MD aeb072c35d Route sign run_command click events through normal chat logic (#6109)
This patch changes sign command logic so that `run_command` click events are routed through the standard chat/command
logic used for inbound chat messages.

This fixes numerous issues related to sign click commands:
  - Signs with a `run_command` value of "/<plugin command>" would fail and show the "Unknown command" warning. This
    prevents usage of commands like `//wand` from WorldEdit in sign click events entirely and requires users to drop
    the leading slash from other plugins' commands. This patch now executes the plugin commands as would be expected,
    adding a leading slash if necessary.
  - Signs with a `run_command` value that doesn't match an existing command could fail silently. This patch causes
    these to *always* show "Unknown command" instead.
  - Plugins listening to `PlayerCommandPreprocessEvent` would not be able to intercept any command executions from
    sign click events. This patch allows plugins to intercept player commands when fired by a click event, in the same
    manner as commands executed by the player typing or clicking on a chat message.
  - Commands executed from signs would not be logged to the console. This patch fixes this.

This patch also prepends a leading slash if the `run_command` value lacks one, which matches vanilla behaviour (old
code would strip this slash away) while also ensuring `PlayerCommandPreprocessEvent#getMessage` remains consistent
with other command executions from chat (which always include the leading slash).
2021-07-07 16:12:58 +01:00
Nassim Jahnke 823ad58768 Fix MobEffectArgument#getEffect reobf 2021-07-07 15:42:08 +02:00
Jason Penilla 737c162fe2 [ci skip] Use Java toolchain for run tasks (#6108) 2021-07-07 06:18:02 -07:00
Malfrador fa7bf2d3dc Add option for logging named entity deaths (#6107) 2021-07-07 15:15:17 +02:00
dfsek 6a93c5c949 Add methods to ProtoWorld for working with BlockStates (#5929) 2021-07-07 03:23:16 -07:00
Jason Penilla 0b90741c3f Move log message for named entity deaths into correct location (#6105) 2021-07-07 03:04:34 -07:00
Jason Penilla 8a664e6bbc Deobfuscate stacktraces in sync load info (#6103) 2021-07-07 00:19:08 -07:00
Nassim Jahnke 7037cd401f Update to Minecraft 1.17.1 (#6097) 2021-07-07 08:52:40 +02:00
Jake Potrebic 43f52d9c13 add Optimize Light Engine patch (#5863) 2021-07-05 21:30:39 -07:00
chickeneer d61d127882 AbstractSkeleton should extend RangedEntity (#6087)
This includes Strays and matches the mojang RangedAttackMob
2021-07-05 22:48:08 -05:00
Jason Penilla d9fde9a55a Add back linking to Adventure Javadoc (#6088) 2021-07-05 20:25:23 -07:00
Jake Potrebic fff6b90af3 Fix Player#playerListName nullability annotation (#6089) 2021-07-05 20:22:11 -07:00
Jason Penilla cad0a49123 Fix incorrect variable usage in per-player mob spawning patch (#6077) 2021-07-04 09:30:59 -07:00
Jason Penilla 08033a4fc0 Also deobfuscate secondary stacktraces in crash reports (#6078) 2021-07-04 03:20:11 -07:00
Jason Penilla acf72e1186 Add reobf mappings patch for LevelChunk#level (CraftBukkit changes type) (#6079) 2021-07-04 03:19:48 -07:00
Jason Penilla 1d6b275814 Fix Bossbar updating (closes #6061) (#6076) 2021-07-03 16:26:13 -07:00
Jake Potrebic 42714f234c fix custom beacon ranges (#6067) 2021-07-02 12:51:49 -07:00
PaulBGD 88029f0e8a Readd "Use getChunkIfLoadedImmediately in places" (#6047)
* Readd "Use getChunkIfLoadedImmediately in places"

* Formatting

* Fix var names
2021-07-02 14:04:29 -05:00
BillyGalbreath 42293b52e2 Honor spigot.yml setting log-villager-deaths (#6057)
cat note: giggity.
2021-07-01 22:28:31 -05:00
Shane Freeder 2143a948be Fix NPE when completing skull lookups without a real owner (Fixes #6052)
This looks like mojang introduced an NPE however it was previously being
supressed by the future used by the server, we'll just stick to the legacy
behavior of retainining the existing profile of earlier versions
2021-07-01 00:10:28 +01:00
Shane Freeder aa1d49efd6 [ci skip] revert dev-imports derp 2021-06-30 22:29:54 +01:00
Shane Freeder 0641643c4a Backport MC-229191 ore distribution changes 2021-06-30 22:11:40 +01:00
Jason Penilla c8203638a0 Add reobf mappings patch for LevelStorageSource$LevelStorageAccess#getDataTag (#6043) 2021-06-29 16:56:26 -07:00
Shane Freeder 5a5d27f6a1 Fix NPE when using broadcast as players are joining 2021-06-29 22:21:42 +01:00
Shane Freeder 0e2c1c7288 [ci skip] patch-ception 2021-06-29 17:39:17 +01:00
Shane Freeder 73d13c8c88 Don't complete skull lookups on main thread (MC-227435) 2021-06-29 17:34:20 +01:00
Jason Penilla d0c06257f1 [ci-skip] Fix description of add-plugin command line option (#6031) 2021-06-29 02:09:02 -07:00
stonar96 c7e9c0260f Optimize Anti-Xray (#5991) 2021-06-29 11:01:47 +02:00
Kyle Wood f96e1916d4 Bump paperweight to 1.1.8 2021-06-29 00:44:48 -05:00
Jason Penilla 85ba428029 Fix return value of Block#applyBoneMeal always being false (#6030) 2021-06-28 18:37:44 -07:00
Shane Freeder c203932d0c 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:
214b9f14 SPIGOT-6605: Add method to access value of enforce-whitelist

CraftBukkit Changes:
b121d3b9 SPIGOT-6605: Add method to access value of enforce-whitelist
2021-06-29 01:31:35 +01:00
Shane Freeder f3e872c626 Fix players not being added to collide rule (Fixes #6024) 2021-06-28 22:16:46 +01:00
Kezz 1029e65bb2 Implement Sound.Source.Provider (#5935) 2021-06-28 14:07:19 +01:00
Jake Potrebic cecb38e6ed Improve horrible CraftChunk#getEntities performance (#5999)
Thanks Spigot, very cool.
2021-06-28 05:53:28 -07:00