Commit Graph

2833 Commits

Author SHA1 Message Date
Jake Potrebic e2da9f79e2 added missing default perms 2020-11-16 12:05:51 -08:00
Professor Bloodstone c53e8d6220 Add summary to /paper chunkinfo command 2020-08-25 22:34:46 +02:00
William Blake Galbreath 427a4c9dd8 Climbing should not bypass cramming gamerule 2020-08-23 21:34:23 +02:00
MiniDigger | Martin 01fe745c90 Add legacy plugin count to metrics 2020-05-11 22:18:58 +02:00
Nassim Jahnke 7c3f274871 Add more lightning API 2020-07-26 14:46:14 +02:00
Nassim Jahnke 744cdf7512 Add PlayerItemCooldownEvent 2020-08-25 14:01:03 +02:00
Anrza 89bdd85933 Add LivingEntity#clearActiveItem 2020-07-15 12:11:31 +02:00
Esophose 7cb939e3a3 Fix Player spawnParticle x/y/z precision loss 2020-10-03 19:00:20 -06:00
Shane Freeder 2e2d31ae89 Fix keep-spawn-loaded stopping force-loaded chunks from loading
Also, cleanup the patch a little bit
2020-12-01 13:23:44 +00:00
Ineusia 14189f531d Add getDestroySpeed to Block API
Co-authored-by: MiniDigger | Martin <admin@minidigger.dev>
2020-07-18 19:29:40 -05:00
Josh Roy 603d4bb5a6 Fix cast check (#4813) 2020-11-27 13:07:41 -05:00
Mark 8996aa88cd Expose world spawn angle (#4803) 2020-11-27 19:27:52 +02:00
Shane Freeder 036bb4e24a 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
Actually rebuild patches this time...

Bukkit Changes:
19b7b7bd #561: Add clear weather World API
5929c808 #552: Add the ability to retrieve hit, step, fall, and other sounds from blocks.

CraftBukkit Changes:
e1ebdd92 #771: Add clear weather World API
424598d2 #752: Add the ability to retrieve hit, step, fall, and other sounds from blocks.
2020-11-25 23:49:06 +00:00
stonar96 2760588808 Preserve order and allow multiple equal blocks in hidden-blocks of Anti-Xray (#4072)
* Preserve order of hidden-blocks in Anti-Xray

This small change allows to specify and predict the order in which
Anti-Xray uses the hidden-blocks in engine-mode 2. The order is
preserved as specified in the hidden-blocks list. This can be useful,
for example, when adding air to the hidden-blocks to predict which fake
ores should be exposed to fake air.

* Allow to add equal blocks multiple times to hidden-blocks

This adds the ability to add equal blocks multiple times to the
hidden-blocks of Anti-Xray in engine-mode 2. Thus it is possible to give
certain blocks different priorities in Anti-Xray. For example if air and
diamond_ore are added twice, the obfuscated chunk will contain twice as
many air and diamond_ore blocks as other blocks in the list.
2020-11-24 17:59:04 +01:00
SuperCoder7979 72ea212bec Significantly improve performance of the end generation
This patch implements a noise cache for the end which significantly reduces the computation time of generation. This results in about a 3x improvement.

Original code by SuperCoder7979 and Gegy in Lithium, licensed under LGPL-3.0 (Source: https://github.com/jellysquid3/lithium-fabric)

Co-authored-by: Gegy <gegy1000@gmail.com>
Co-authored-by: Dylan Xaldin <Puremin0rez515@gmail.com>
Co-authored-by: pop4959 <pop4959@gmail.com>
2020-11-05 21:37:46 -06:00
Jason Penilla 9d76d7a887 Add Wandering Trader spawn rate config options 2020-09-23 10:28:11 -07:00
Jason Penilla ca25d24197 Villager resetOffers API 2020-10-03 21:20:10 -07:00
Mariell Hoversholm db1f178a92 Patch 2 references an invalid variable 2020-11-14 16:54:25 +01:00
Gabscap 5991698388 [CI-SKIP] Remove Waving banner fix (#4786)
Mojang fixed it in MC-63720
2020-11-19 16:15:16 +01:00
Jake Potrebic ad0aae4e0f Updated Upstream (Bukkit/CraftBukkit) (#4779)
Upstream has released updates that appears 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:
f47abd88 SPIGOT-6242: Fix some file line endings
de96535b SPIGOT-6234: enum classes don't serialize properly when implementing ConfigurationSerializable

CraftBukkit Changes:
4475707d SPIGOT-6244: /spawnpoint ignores angle
8b3b096d SPIGOT-6242: Fix some file line endings
4b33c749 SPIGOT-6186: Canceling a CreatureSpawnEvent​ results in a "Unable to summon entity due to duplicate UUIDs" error
2b3ca726 SPIGOT-6236: Vehicle passenger portal cooldown does not change
2020-11-17 19:45:18 -08:00
Max Lee 217e1311f4 Backport feature search improvement from 1.17 (Fixes #2312) (#4771) 2020-11-14 23:50:11 +01:00
Mariell Hoversholm 5d66ba7613 Add API for quit reason
The following has been tested:
- Disconnect from menu -> DISCONNECTED
- EssentialsX kick -> KICKED
- Suspend server JVM -> DISCONNECTED
- Suspend client JVM -> TIMED_OUT
- Call #exceptionCaught -> ERRONEOUS_STATE

Suspension was done through `kill -STOP` and subsequently `kill -CONT`
after the player has (been) disconnected.

Closes #254.
2020-11-14 16:23:10 +01:00
Mariell Hoversholm e23a6d6674 Updated Upstream (CraftBukkit)
Upstream has released updates that appears 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:
23618b2c SPIGOT-6240: Use correct portal search radius
2020-11-13 20:07:38 +01:00
BillyGalbreath 2271d88dc1 Fix per-world settings not reloading (#4756) 2020-11-11 22:58:42 -06:00
Jason Penilla add661a180 Fix NPE thrown when converting MerchantRecipe from Bukkit to NMS (#4755)
This bug was introduced in https://github.com/PaperMC/Paper/commit/c451989b86432a21509ee91f5067ec81ea8c3c60 (Add ignore discounts API)
2020-11-11 19:35:44 -08:00
Mariell Hoversholm c451989b86 Add ignore discounts API 2020-11-09 20:45:38 +01:00
Jake Potrebic 21e0ef27f1 Add custom ranges to beacons
Adds 3 methods to the Beacon block state to set a custom range for the beacon.
One to set the range, one to get the range, and one to reset the range
(aka go back to using the default range-by-beacon-tier system).
2020-06-28 01:20:49 -06:00
Alfie Smith 867d1d5de7 Item no age & no player pickup 2020-11-07 01:23:06 +00:00
Jason Penilla 859ebd5ad4 Fix client lag on advancement loading (#4710)
When new advancements are added via the UnsafeValues#loadAdvancement
API, it triggers a full datapack reload when this is not necessary. The
advancement is already loaded directly into the advancement registry,
and the point of saving the advancement to the Bukkit datapack seems to
be for persistence. By removing the call to reload datapacks when an
advancement is loaded, the client no longer completely freezes up when
adding a new advancement.
To ensure the client still receives the updated advancement data, we
manually reload the advancement data for all players, which
normally takes place as a part of the datapack reloading.
2020-11-11 08:18:36 -08:00
Aurora ae22eecc49 [CI-SKIP] Update IRC information in readme and config (#4751)
Co-authored-by: Mariell <proximyst@proximyst.com>
Co-authored-by: Riley Park <rileysebastianpark@gmail.com>
2020-11-10 09:15:03 +01:00
Mariell Hoversholm 58c9443d76 Toggle for removing existing dragon 2020-09-30 22:52:29 +02:00
Shane Freeder f7185064c9 Updated Upstream (Spigot)
Restab at the last upstream to add support for migrating the option for disabling player data
saving back into spigots config, vs blindly dropping it

Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Spigot Changes:
a19903d2 SPIGOT-520: Add option to disable player data saving
2020-11-09 01:05:27 +00:00
Shane Freeder fe115b0ebe Revert "Updated Upstream (Spigot) (#4745)"
This reverts commit 27979ca2fa.
2020-11-09 00:09:37 +00:00
Mariell 27979ca2fa Updated Upstream (Spigot) (#4745)
Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Spigot Changes:
a19903d2 SPIGOT-520: Add option to disable player data saving
2020-11-08 11:00:43 +01:00
Shane Freeder 690a0bc308 Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appears 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:
f4f2ef4c SPIGOT-6222: Correct javadoc for Entity#setPassenger
1871ca9d #559: Add wait time modification for FishHook

CraftBukkit Changes:
bc6a175e #767: Add wait time modification for FishHook
2fc37bcc SPIGOT-6197: Prevent world loading from updating spawn settings of all worlds
2020-11-07 00:19:04 +00:00
Mariell 0b2f49cb81 OBFHELPERS (#4733) 2020-11-03 22:30:15 +01:00
Daniel Ennis 6f4fbe1c89 Updated Upstream (Bukkit/CraftBukkit/Spigot) (#4728)
Upstream has released updates that appears 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:
30885166 Update to Minecraft 1.16.4

CraftBukkit Changes:
3af81c71 Update to Minecraft 1.16.4

Spigot Changes:
f011ca24 Update to Minecraft 1.16.4

Co-authored-by: Mariell Hoversholm <proximyst@proximyst.com>
2020-11-02 21:22:15 -05:00
oxygencraft 0e476e7c68 Add getOfflinePlayerIfCached(String) 2020-10-25 18:42:35 +11:00
Spottedleaf 94d3dceaa9 Fix ghost blocks in ticking view distance
Fixes #4298.

Tuinity patch:
https://github.com/Spottedleaf/Tuinity/blob/576e2cc1af2bb0b9768da2b11871044801d63099/patches/server/0047-Fix-ghost-blocks-in-ticking-view-distance.patch
2020-11-01 16:28:55 +01:00
Toon Schoenmakers 19df25be11 Avoid crashing clients when fishing loot is empty, Fixes #4235 (#4681) 2020-10-28 21:39:02 +01:00
Yive ad16dcceca Fix armor stands still doing entity collision 2020-10-25 11:06:01 -07:00
Mariell 81113bd07b Make fireworks call PlayerLaunchProjectileEvent (#4698) 2020-10-27 23:01:32 +01:00
Andrew Steinborn 51ed2d9d21 [1.16] Improve performance of matching ingredients for shapeless recipes (#4694) 2020-10-27 15:04:32 +00:00
Mariell 7811aecad6 Updated Upstream (Bukkit/CraftBukkit) (#4688)
Upstream has released updates that appears 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:
4abf9e96 #557: Add TNTPrimed#setSource method

CraftBukkit Changes:
dea41389 Remove outdated build delay.
9da3b5bf #762: Add TNTPrimed#setSource method
2020-10-26 16:02:55 +01:00
Shane Freeder 4d21a2e77a Add support for RanagedEntity API for newer mobs (Fixes #4678) 2020-10-22 13:01:44 +01:00
stonar96 970735ca15 Fix slime block in Anti-Xray 2020-10-17 04:19:09 +02:00
giacomo a8b92f3d9d Fixed TileEntityBell memory leak 2020-10-10 12:23:52 +02:00
Trigary 7995c5cfeb Add player elytra boost API 2020-04-14 12:11:25 +02:00
William Blake Galbreath 18f927e706 Fix item locations dropped from campfires 2020-10-03 20:32:52 -05:00
Mariell 03ce97a3cc BukkitValues was renamed ChunkBukkitValues (#4664)
I blame cat!
2020-10-17 22:53:51 +02:00