84d350c24c
hashCodes are not allowed to change, however bukkit used a value that does change, the entityId. When an entity is teleported dimensions, the entity reference is replaced with a new one with a new entity ID. For hashCode, we can simply use the UUID's hashCode to keep the hashCode from changing. equals() is ok to use getEntityId() because equals() should only be true if both the left and right are the same reference. Since entity ids can not duplicate during runtime, this check is essentially the same as this.getHandle() == other.getHandle() However, replaced it too to make it clearer of intent. |
||
---|---|---|
.github/ISSUE_TEMPLATE | ||
Spigot-API-Patches | ||
Spigot-Server-Patches | ||
licenses | ||
scripts | ||
work | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
CONTRIBUTING.md | ||
LICENSE.md | ||
README.md | ||
paper | ||
pom.xml |
README.md
Paper
High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies.
IRC Support and Project Discussion
Documentation
Access the Paper docs here: paper.readthedocs.io
Access the Paper API javadocs here: destroystokyo.com/javadocs
How To (Server Admins)
Paperclip is a jar file that you can download and run just like a normal jar file.
Download a copy of paperclip.jar from our build server, here.
Run the Paperclip jar directly from your server. Just like old times
Paper requires Java 8 or above.
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, 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.