High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
David Slovikosky be6b3b9b37 Fix missing chunks due to integer overflow (#3527)
This patch fixes a bug in the WorldChunkManagerTheEnd class where the distance
from 0,0 squared overflows the maximum size of an integer. The overflow leads
to hard chunk borders around 370,000 blocks from 0,0. After this cutoff there
is a few hundred thousand block gap before end land resuming to generate at
530,000 blocks from spawn. This is due to the integer flipping back and forth.

The fix for the issue is quite simple, casting chunk coordinates to longs
allows the distance calculation to avoid overflow and work as intended.
2020-06-12 00:30:18 -07:00
.github/ISSUE_TEMPLATE [CI-SKIP] Update Issue template 2018-09-26 17:22:20 -04:00
licenses [CI-SKIP] Clarify project licensing 2018-03-06 20:41:03 -05:00
Paper-MojangAPI Rename to AsyncPlayerSendSuggestionsEvent to be consistent in naming 2020-05-02 15:25:55 -04:00
scripts Preload important classes such as Logger and JLine 2020-05-24 13:09:02 -04:00
Spigot-API-Patches Show Plugins Event Listeners under Combined Total in Timings 2020-06-09 21:48:35 -04:00
Spigot-Server-Patches Fix missing chunks due to integer overflow (#3527) 2020-06-12 00:30:18 -07:00
work Updated Upstream (Bukkit/CraftBukkit) 2020-06-01 23:15:47 -04:00
.editorconfig [CI-SKIP] add .editorconfig for base code style settings 2018-08-07 01:13:55 -04:00
.gitignore Fix ./paper edit continue for Windows 2020-05-20 04:10:29 +02:00
.gitmodules Cleanup and restructure the project 2016-04-01 22:55:54 -05:00
.travis.yml [CI-SKIP] Have travis ensure openjdk11 builds run 2018-10-24 16:26:47 -04:00
CONTRIBUTING.md Fix path in CONTRIBUTING.md (#3406) 2020-05-20 05:08:37 +02:00
LICENSE.md Add API MinecraftServer#isStopping (#3129) 2020-04-11 01:51:35 -04:00
paper Optimize sending packets to nearby locations (sounds/effects) 2020-05-23 17:15:40 -04:00
pom.xml Implement Brigadier Mojang API 2020-04-27 01:37:37 -04:00
README.md Update to HTTPS in README (#3460) 2020-06-09 10:12:43 +02:00

Paper Build Status

High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies.

Support and Project Discussion:

How To (Server Admins)

Paperclip is a jar file that you can download and run just like a normal jar file.

Download Paper from our downloads page.

Run the Paperclip jar directly from your server. Just like old times

How To (Plugin Developers)

  • See our API patches here
  • See upcoming, pending, and recently added API here
  • Paper API javadocs here: papermc.io/javadocs
  • Maven Repo (for paper-api):
<repository>
    <id>papermc</id>
    <url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
  • Artifact Information:
<dependency>
    <groupId>com.destroystokyo.paper</groupId>
    <artifactId>paper-api</artifactId>
    <version>1.15.2-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
 </dependency>

How To (Compiling Jar From Source)

To compile Paper, you need JDK 8, maven, and an internet connection.

Clone this repo, run ./paper jar from bash, get files.

How To (Pull Request)

See Contributing

Special Thanks To:

YourKit-Logo

YourKit, makers of the outstanding java profiler, support open source projects of all kinds with their full featured Java and .NET application profilers. We thank them for granting Paper an OSS license so that we can make our software the best it can be.