3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00
Datei suchen
Bjarne Koll 425baed78f
Fully deserialise persistent anger post async load (#8560)
The modified patch prevents entity loading off the main thread when
entities are initially loaded.

However, the initial loading of an entity is not the only time the
Entity#readAdditionalSaveData method is called. Commands like /data also
invoke the method (through Entity#load) to update an entities data
without completely re-creating it.

This however breaks with the current patch, as the patch moves parts of
the entity lookup for persistent anger deserialisation into the first
tick of an entity (which obviously is only called once and hence not
re-run when an already ticking entity is modified as laid out above).

This change actively runs the now split logic for deserialisation again
if the entity has already ticked its first tick. This way, initial
deserialisation is still split into one off thread and the first tick
parts, but following main thread deserialisations can happen completely
inside Entity#readAdditionalSaveData is called.
2022-12-02 18:09:41 +01:00
.github [ci skip] couple more fixes for build pr jar label (#8599) 2022-11-30 12:45:27 -08:00
build-data Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
gradle/wrapper Build updates 2022-10-31 15:25:30 -07:00
licenses [CI-SKIP] Clarify project licensing 2018-03-06 20:41:03 -05:00
Paper-MojangAPI Improve MojangAPI docs and replace @Deprecated with @ApiStatus.Experimental on draft APIs (#8261) 2022-08-07 13:47:43 -07:00
patches Fully deserialise persistent anger post async load (#8560) 2022-12-02 18:09:41 +01:00
scripts Updated Upstream (Bukkit/CraftBukkit) (#8172) 2022-07-22 11:18:00 -07:00
test-plugin Don't send itemmeta for books with the hide option enabled (#7734) 2022-04-18 12:23:37 +02:00
work Updated Upstream (CraftBukkit) (#8548) 2022-11-09 16:05:46 -08:00
.editorconfig Move to configurate for paper.yml (#7609) 2022-06-09 10:51:45 +02:00
.gitattributes Fix patch, fix .gitattributes file name 2021-06-12 14:09:11 +02:00
.gitignore [ci skip] Add .fleet/ folder to .gitignore (#8574) 2022-11-19 14:33:03 +01:00
.gitmodules Remove Paperclip submodule 2021-06-15 01:44:13 -05:00
build.gradle.kts Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
CONTRIBUTING.md Moving ATs from the at file to individual patches (#8573) 2022-11-19 15:53:20 -08:00
gradle.properties 1.19.2 (#8250) 2022-08-05 15:58:34 -07:00
gradlew Build updates 2022-10-31 15:25:30 -07:00
gradlew.bat Build updates 2022-10-31 15:25:30 -07:00
LICENSE.md Fix preemptive connection dropping during shutdown process (#8546) 2022-11-27 11:20:31 -06:00
README.md 1.19.2 (#8250) 2022-08-05 15:58:34 -07:00
settings.gradle.kts [ci skip] Add check for git repo (#8578) 2022-11-20 11:26:20 -07:00

Paper Paper Build Status Discord GitHub Sponsors Open Collective

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://repo.papermc.io/repository/maven-public/</url>
</repository>
  • Artifact Information:
<dependency>
    <groupId>io.papermc.paper</groupId>
    <artifactId>paper-api</artifactId>
    <version>1.19.2-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>

Or alternatively, with Gradle:

  • Repository:
repositories {
    maven {
        url = uri("https://repo.papermc.io/repository/maven-public/")
    }
}

dependencies {
    compileOnly("io.papermc.paper:paper-api:1.19.2-R0.1-SNAPSHOT")
}

java {
    toolchain.languageVersion.set(JavaLanguageVersion.of(17))
}

How To (Compiling Jar From Source)

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

Clone this repo, run ./gradlew applyPatches, then ./gradlew createReobfBundlerJar from your terminal. You can find the compiled jar in the project root's build/libs directory.

To get a full list of tasks, run ./gradlew tasks.

How To (Pull Request)

See Contributing

Support Us

First of all, thank you for considering helping out, we really appreciate that!

PaperMC has various recurring expenses, mostly related to infrastructure. Paper uses Open Collective via the Open Source Collective fiscal host to manage expenses. Open Collective allows us to be extremely transparent, so you can always see how your donations are used. You can read more about financially supporting PaperMC on our website.

You can find our collective here, or you can donate via GitHub Sponsors here, which will also go towards the collective.

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.

JetBrains, creators of the IntelliJ IDEA, supports Paper with one of their Open Source Licenses. IntelliJ IDEA is the recommended IDE for working with Paper, and most of the Paper team uses it.

All our sponsors!
Sponsor Image