Commit graph

5739 commits

Author SHA1 Message Date
Josh Roy
d20e5b1954
Fix timings sometimes incorrectly marking commands (#5783) 2021-06-06 19:04:43 +00:00
TwoLeggedCat
0daded2f25
Add more line of sight methods (#5749) 2021-06-05 10:25:16 +02:00
Max Lee
8fd4e70db7
Improve seed based feature search to not load chunk (#5760)
This is done by returning the center location of the chunk at the height
 of the input location when the target chunk isn't loaded already which
 is exact enough for most use cases and will get more precise once the
 player is close enough for the chunk being loaded anyways.

As this might lead to less precise locations a config option to enable
 the sync loading of the chunks is provided.
2021-06-05 10:07:35 +02:00
Jake Potrebic
7ad8498c32
Make item validations configurable (#5775) 2021-06-05 07:56:05 +00:00
LemonCaramel
3673d6758e
Fix Cannot be adventure component serialized when the legacy component is null (#5754) 2021-06-05 09:49:04 +02:00
Aikar
afb0748a2c
[Auto] 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:
04df07fe #615: Calculate the reachable nodes only once per transitive dependency check.
2021-06-04 18:22:15 -04:00
Josh Roy
7d751ad8d3
Fix dangerous end portal logic (#5776)
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2021-06-04 21:58:45 +00:00
Shane Freeder
12716324d9
Do not tick Chunk TickS for every chunk 2021-06-03 06:13:18 +01:00
Aikar
af1a50993f
[Auto] 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:
ebe18b9b0 SPIGOT-6487: Fix issue with villagers picking up items in certain situations
2021-06-02 22:27:31 -04:00
Josh Taylor
5d05da2579
Use original user input instead of legacy event result for AbstractChatEvent#originalMessage (#5770) 2021-06-02 15:57:54 -07:00
Shane Freeder
f89be1281a
[CI-SKIP] Fixup patch header 2021-06-02 05:51:15 +01:00
Shane Freeder
acbb69e671
Restore vanilla water animal limit
Spotted by pheonix616, merged into a similar patch for the sake of
the patch numbers :o
2021-06-02 05:45:12 +01:00
BillyGalbreath
ea381dde32
Reset villager inventory on cancelled pickup event (again) (#5766) (Fixes #5765) 2021-06-02 03:11:13 +00:00
Nassim
b94a99b033
Updated Upstream (CraftBukkit) (#5762)
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:
90a4d64a Remove usage of Java 11 method not caught by animal sniffer
c51c0f7f SPIGOT-6483: Fix cancelling EntityPickupEvent for villagers
2021-06-01 12:19:10 +02:00
Aikar
f5cb169e01
[Auto] 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:
769a579cb SPIGOT-6482: Baby piglins will pick up more items than vanilla
2021-06-01 04:42:33 -04:00
Owen1212055
407ad043cc
Add ElderGuardianAppearanceEvent (#5394) 2021-05-31 06:18:38 +00:00
Jake Potrebic
a04ad7bfb4
Fix invulnerable end crystals: MC-108513 (#5734) 2021-05-31 02:18:03 +01:00
Max Lee
c894e8bbbe
Fix issue with soft despawn distance (#5755)
Previously setting the soft despawn distance above the default
 value of 32 would mean that an entity outside of the 32 range
 would still count ticksFarFromPlayer up every tick without
 resetting it which might lead to the entity (almost) instantly
 despawning once it went outside of the configured distance
 instead of waiting 600 ticks.
2021-05-31 00:46:42 +00:00
Owen1212055
302e5101a6
Add BellRevealRaiderEvent (#5729) 2021-05-30 12:52:01 +00:00
Gergely Sarkozi
34e6b2dc39
editMeta: tighten contract via docs (#5714) 2021-05-30 11:45:46 +00:00
Shane Freeder
db2d501ba3
Do not print spawn loaded chunks
This counter is no longer accurate due to the fact that paper does not block for these loads
to finish
2021-05-30 03:02:23 +01:00
Jake Potrebic
86ffde0384
Add getHandRaised to LivingEntity (#5752) 2021-05-30 01:51:13 +00:00
Kezz
9072c349a0
Fix broadcast event and add Adventure broadcast (#5477) 2021-05-29 15:56:24 -07:00
Jake Potrebic
525d0e3d37
fix beacon activate/deactivate events (#5646) 2021-05-29 16:22:47 +01:00
Aikar
e403d6aafc
[Auto] 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:
a0149bf16 SPIGOT-6480: Players cannot take books from lecterns that were opened by plugins
2021-05-29 05:07:34 -04:00
Jake Potrebic
6bcd8b57c9
Updated Upstream (CraftBukkit) (#5742) 2021-05-28 23:23:38 +00:00
BillyGalbreath
501cc94488
Reset villager inventory on cancelled pickup event (#5738) 2021-05-28 06:17:05 -07:00
Jason
3f72a549b0
Exit with non-zero exit code when killed by watchdog (#5732) 2021-05-28 00:29:41 -07:00
Jake Potrebic
a8d7ad0995
Updated Upstream (Bukkit/CraftBukkit) (#5735) 2021-05-27 23:24:27 +00:00
Giovanni D
2299159bbb
Add option to fix items merging through blocks (#5334)
Fixes #5204
2021-05-27 18:38:24 +02:00
Jake Potrebic
d8c20ddc77
Fix PlayerBucketEmptyEvent result itemstack (#5698)
Fixes SPIGOT-2560: https://hub.spigotmc.org/jira/projects/SPIGOT/issues/SPIGOT-2560
2021-05-27 17:43:55 +02:00
HexedHero
ceb3762fb1
Add PufferFishStateChangeEvent (#5606) 2021-05-27 15:14:52 +00:00
Prof-Bloodstone
cd4defec04
[CI-SKIP] Update version checker to use V2 downloads API (#5728) 2021-05-27 14:25:24 +01:00
Yive
b9f2a673d3
Limit item frame cursors on maps (#5730)
Fixes an issue where you can have thousands of these and lag clients.
2021-05-26 22:16:17 +00:00
Jake Potrebic
81a537c1f3
Add PlayerKickEvent causes (#5648) 2021-05-25 20:20:28 +02:00
LemonCaramel
b7976b9568
Add More Lidded Block API (#5707) 2021-05-25 20:05:03 +02:00
Aikar
41e6073ced
[Auto] 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:
afa0678e1 SPIGOT-6133: Chorus fruit consumption calls PlayerTeleportEvent multiple times
2021-05-24 18:37:30 -04:00
Jake Potrebic
6f93dc95dc
Add cause to Weather/ThunderChangeEvents (#4832) 2021-05-24 18:45:23 +02:00
Aikar
507cf19b3a
[CI-SKIP] [Auto] Rebuild Patches
A recent commit has been made that caused patches to be out of order, rebuilding
2021-05-24 06:57:30 -04:00
Alexander
afe0785bfe
Added PlayerPurchaseEvent for standalone Merchant GUIs (#5583) 2021-05-24 10:51:06 +00:00
Nassim
615df3d8a6
Fix entity motion tag from mob spawners (#5718) 2021-05-24 09:18:26 +00:00
Jake Potrebic
2d34898b55
Add methods for getting default item attributes (#5593) 2021-05-24 07:52:31 +00:00
Jake Potrebic
d9766433ec
Add EntityInsideBlockEvent (#5596) 2021-05-24 09:39:49 +02:00
Riley Park
47d48790d1
Change return type of ItemStack#editMeta to allow checking for successful vs non-successful edits 2021-05-23 12:32:43 -07:00
Gergely Sarkozi
7aabe7d56b
[CI-SKIP] fix minecart vs minecraft typos (#5713) 2021-05-23 16:11:06 +02:00
Mariell Hoversholm
f775e87b4e
[CI-SKIP] ci: update setup-java action (#5710)
* ci: update setup-java action
* ci: change java distribution to adopt

Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com>
2021-05-23 12:18:19 +00:00
Mariell Hoversholm
c58b3b277c
ci: replace Java 11 with Java 16 in GH Actions build flow (#5709)
* ci: add Java 16 to GH Actions build flow

With our new dependence on Java 16+ as of Minecraft 1.17 (refer to:
https://www.minecraft.net/en-us/article/minecraft-snapshot-21w19a), we
should also ensure everything we merge builds on Java 16.

Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com>

* ci: remove Java 11 from build flow

Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com>
2021-05-23 05:12:50 -07:00
Riley Park
4b72327a65
ItemStack#editMeta
fixes #5711
2021-05-23 05:06:39 -07:00
Andrew Steinborn
68984b6645
Add Unix domain socket support (#5611)
Tested-by: Mariell Hoversholm <proximyst@proximyst.com>
Reviewed-by: Mariell Hoversholm <proximyst@proximyst.com>
2021-05-23 11:18:50 +00:00
BillyGalbreath
68c67e6800
Add Mob#lookAt API (#5633) 2021-05-23 02:55:28 -07:00