Commit Graph

5647 Commits

Author SHA1 Message Date
Max Lee aaecd72944 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 09:07:35 +01:00
Jake Potrebic a31cdfbcff Make item validations configurable (#5775) 2021-06-05 00:56:05 -07:00
LemonCaramel edb4be1e28 Fix Cannot be adventure component serialized when the legacy component is null (#5754) 2021-06-05 16:49:04 +09:00
Automated e5768e2b2b [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 612f3e137a Fix dangerous end portal logic (#5776)
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
2021-06-04 17:58:45 -04:00
Shane Freeder d963592869 Do not tick Chunk TickS for every chunk 2021-06-03 06:13:18 +01:00
Automated 55888af12f [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 887b02a2ad Use original user input instead of legacy event result for AbstractChatEvent#originalMessage (#5770) 2021-06-02 23:57:54 +01:00
Shane Freeder 2614cde313 [CI-SKIP] Fixup patch header 2021-06-02 05:51:15 +01:00
Shane Freeder 11743149cd 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 d9aca71bc7 Reset villager inventory on cancelled pickup event (again) (#5766) (Fixes #5765) 2021-06-01 22:11:13 -05:00
Nassim Jahnke bb5486d372 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
Automated 14216d1a4f [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 bec391acf9 Add ElderGuardianAppearanceEvent (#5394) 2021-05-31 02:18:38 -04:00
Jake Potrebic 3bd7f20611 Fix invulnerable end crystals: MC-108513 (#5734) 2021-05-30 18:18:03 -07:00
Max Lee 80852eb3b2 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 01:46:42 +01:00
Owen1212055 69cbc63e05 Add BellRevealRaiderEvent (#5729) 2021-05-30 08:52:01 -04:00
Gergely Sarkozi 027b85caf3 editMeta: tighten contract via docs (#5714) 2021-05-30 13:45:46 +02:00
Shane Freeder 51b2370434 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 4e835fca94 Add getHandRaised to LivingEntity (#5752) 2021-05-29 18:51:13 -07:00
Kezz 0d254aed35 Fix broadcast event and add Adventure broadcast (#5477) 2021-05-29 23:56:24 +01:00
Jake Potrebic 08bb14c394 fix beacon activate/deactivate events (#5646) 2021-05-29 08:22:47 -07:00
Automated d99b1787b9 [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 d320702772 Updated Upstream (CraftBukkit) (#5742) 2021-05-28 16:23:38 -07:00
BillyGalbreath 9926a78782 Reset villager inventory on cancelled pickup event (#5738) 2021-05-28 08:17:05 -05:00
Jason Penilla e278cc1a3a Exit with non-zero exit code when killed by watchdog (#5732) 2021-05-28 00:29:41 -07:00
Jake Potrebic 8c6e42583a Updated Upstream (Bukkit/CraftBukkit) (#5735) 2021-05-27 16:24:27 -07:00
Giovanni D bc7297fb97 Add option to fix items merging through blocks (#5334)
Fixes #5204
2021-05-27 09:38:24 -07:00
Jake Potrebic 514cbee461 Fix PlayerBucketEmptyEvent result itemstack (#5698)
Fixes SPIGOT-2560: https://hub.spigotmc.org/jira/projects/SPIGOT/issues/SPIGOT-2560
2021-05-27 08:43:55 -07:00
HexedHero 2fde41b25e Add PufferFishStateChangeEvent (#5606) 2021-05-27 16:14:52 +01:00
Prof-Bloodstone 152c94320f [CI-SKIP] Update version checker to use V2 downloads API (#5728) 2021-05-27 15:25:24 +02:00
Yive 2667fd04c4 Limit item frame cursors on maps (#5730)
Fixes an issue where you can have thousands of these and lag clients.
2021-05-26 15:16:17 -07:00
Jake Potrebic d49dc3f24b Add PlayerKickEvent causes (#5648) 2021-05-25 11:20:28 -07:00
LemonCaramel 0f48f0150a Add More Lidded Block API (#5707) 2021-05-26 03:05:03 +09:00
Automated 8c6fe5ca93 [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 ebff0c4ed9 Add cause to Weather/ThunderChangeEvents (#4832) 2021-05-24 09:45:23 -07:00
Automated 84726837ab [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 d610d1c11d Added PlayerPurchaseEvent for standalone Merchant GUIs (#5583) 2021-05-24 11:51:06 +01:00
Nassim Jahnke bf6831d330 Fix entity motion tag from mob spawners (#5718) 2021-05-24 11:18:26 +02:00
Jake Potrebic acfee45986 Add methods for getting default item attributes (#5593) 2021-05-24 00:52:31 -07:00
Jake Potrebic 6eefa715e3 Add EntityInsideBlockEvent (#5596) 2021-05-24 00:39:49 -07:00
Riley Park 0edaf770ea 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 455960096d [CI-SKIP] fix minecart vs minecraft typos (#5713) 2021-05-23 16:11:06 +02:00
Mariell Hoversholm cc1564ab71 [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 14:18:19 +02:00
Mariell Hoversholm ed222051a7 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 14:12:50 +02:00
Riley Park 8ddb8ec3a5 ItemStack#editMeta
fixes #5711
2021-05-23 05:05:34 -07:00
Andrew Steinborn 7a227d7d3b Add Unix domain socket support (#5611)
Tested-by: Mariell Hoversholm <proximyst@proximyst.com>
Reviewed-by: Mariell Hoversholm <proximyst@proximyst.com>
2021-05-23 07:18:50 -04:00
BillyGalbreath 7127d40dae Add Mob#lookAt API (#5633) 2021-05-14 13:45:00 -05:00
Automated 1ccb29a1b4 [Auto] 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:
f563167d SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers

CraftBukkit Changes:
9c7acb6cb SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers
2021-05-22 18:42:32 -04:00
Jason Penilla ee0bafc6a3 Fix default ChatRenderer when no plugins are installed (#5702) 2021-05-21 18:08:18 -07:00