Commit graph

5361 commits

Author SHA1 Message Date
MiniDigger | Martin
7e7a3d372a Fix Delegation to vanilla chunk gen
This broke in 1.16.1, when upstream changed stuff around and introduced this delegate field.

Closes #4097
2020-11-24 18:58:34 +01:00
Jake Potrebic
1023360683 fixed bug in jvm checker (#4845) 2020-12-04 19:58:24 -08:00
Kyle Wood
08835cda45 Enable Multi-Release plugin jar support
Fixes #4841
2020-12-04 15:57:46 -08:00
Automated
256a700c8d [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:
5b747147e Increase outdated build delay
2020-12-03 03:37:01 -05:00
Kyle Wood
233273702f Add warning for servers not running on Java 11 2020-12-02 22:27:03 -08:00
Josh Roy
209f04eab2 Add PlayerShearBlockEvent 2020-08-27 15:39:24 -04:00
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
Riley Park
769f32c557 [ci skip] add stale bot configuration 2020-12-02 12:27:23 -08: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
Max Lee
33f101b760 Fix plugin provides not being listed behind name in /plugins (#4825) 2020-12-01 15:06:14 +01: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
Shane Freeder
c74595c473 [CI-SKIP] Misc script changes (Closes #4346)
testserver - use printf instead of echo, as echo is apparently
              inconsistent across environments
requireDeps - change message slightly, maybe more useful to people?
2020-11-29 06:24:39 +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
HexedHero
2220d44459 Add Material Tags for Coral, Coral Fangs and Coral Blocks 2020-11-27 15:26:52 +00: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
41cba04006 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:
721e678d Fix javadoc in previous commit
2020-11-25 23:58:38 +00: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
Shane Freeder
2241a94f70 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:
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:45:25 +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
l1ttleO
ed5c452182 [CI-SKIP] Fix an error in commit message when updating upstream (#4796) 2020-11-23 21:47:27 +05: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
Jake Potrebic
108e466082 [CI-SKIP] fixed sed -i for bsd sed (#4782) 2020-11-19 07:47:22 -08:00
Gabscap
5991698388 [CI-SKIP] Remove Waving banner fix (#4786)
Mojang fixed it in MC-63720
2020-11-19 16:15:16 +01:00
Automated
2ecc88c34d [Auto] 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:
167ff5917 #770: Send messages without sender with SYSTEM type again
2020-11-18 18:27:13 -05: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
Jake Potrebic
da67283b6b Location#getHighestLocation should support Upstream API (#4770) 2020-11-16 06:44:14 -08:00
Daniel Ennis
cfd2e28a52 Add exception handlers for getChunkAtAsync convenience methods (#4773) 2020-11-16 09:40:01 -05:00
A248
5fa8189596 Add exception handlers for getChunkAtAsync convenience methods 2020-11-15 19:26:25 -05:00
Ben Kerllenevich
b89194b989 [CI-SKIP] Add curl requirement for building paper. (#4768)
* Add curl to contributing.md

* change semicolons and periods

Co-authored-by: Mariell <proximyst@proximyst.com>
2020-11-15 17:42:05 -05: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
Shane Freeder
fcd9bc3e26 Updated Upstream (CraftBukkit) (#4760)
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 22:03:29 +00: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
Shane Freeder
e6b2fda436 Revert "Zero pad chunks before saving them to the disk"
This reverts commit dab4c6e16b.
2020-11-13 14:51:22 +00: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 c451989b86 (Add ignore discounts API)
2020-11-11 19:35:44 -08:00
Zach Brown
4ca833b607 Fix minor issue with JavaDoc breaking doc deploys 2020-11-11 21:19:46 -06:00
Mariell Hoversholm
c451989b86 Add ignore discounts API 2020-11-09 20:45:38 +01:00
Toon Schoenmakers
dab4c6e16b Zero pad chunks before saving them to the disk
This makes the unused data inside region files more repeatable.
Which will result in better compression in case the entire world directory
is compressed (like in backups). Which will naturally result in smaller backups.
2020-10-12 20:34:30 +02: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