mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-21 07:09:21 +08:00
3d43c5e500
* hacked build changes, api applies cleanly * Did anyone say gradle? and paperweight? potentially even mojmap?! * Update paperweight & build config for Spigot changes * Move patches * Initial Spigot remap patches * Inital remap of patches * Move patches around * Remap POM changes patch Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * Rename POM changes to build system changes Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * Apply a few more patches Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * Rename all patches to correct numbering scheme Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * More remapped patches Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * ci: remove java 8 build Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * Update Timings patch (#5796) * fix: up the max memory for gradle Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * fix: add pom changes to gradle Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * fix: remove empty java file Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * fix: remove #isStopping check Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * fix: closer to compilable Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * fix: the server compiles Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * fix: map parent method where CB does not Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * feat: new maven group: io.papermc.paper Signed-off-by: Mariell Hoversholm <proximyst@proximyst.com> * fix: Update paperweight mcdev and fix CraftBukkit patch * few fixes to make it actually run * Add Paper version back to manifest, add `runShadow`, `runReobf`, and `runDev` tasks for testing * fix adventure patch * rebase * more patches * more patches * more patches (#5799) * Add ASM dep to API and fix issues from title packet changes with bungee api * patches * fix PlayerUseUnknownEntityEvent patch (#5800) * some patches * even more progress * even even more progress * even even even even even even even more work * even even even even even even even even even more changes * fix profile cache mappings let me be OP god dammit! * even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even more work * even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even even more work * add mcdev imports file * More work * More more work * Fix patch, fix .gitattributes file name * More more more work * even more wooooooooooooooooooooooooork uwu * more patches (#5807) * Fix this stupid bullshit v2 * delete unneeded old patches * more patches (#5808) * more patches * gradlew.bat crlf fix (#5810) * more patches (#5811) * Cleanup project build config * Write API version to pom.properties for Versioning to read Maven writes this metadata normally, but we don't use maven. Maybe should modify Versioning instead in the future, but this works just fine for now. * wowe * Add `runWorkDir` property for setting a custom run task working directory * Use `mergeServiceFiles()` instead of AppendingTransformer * Bump tiny-remapper to 0.4.1 * Use `forUseAtConfigurationTime()` for run directory property * Resolve run working directory from rootProject * even even even even more work * wor * patches * Updated Upstream (Bukkit/CraftBukkit/Spigot) 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: 8503c3c9 #621: Add HumanEntity#getItemInUse and Material#getSlipperiness 248deb09 #622: Add methods to check if item is the breed item for an entity 2ce691d8 Clarify Player#breakBlock only works for blocks in the same world 5dcdd48e SPIGOT-6514: Small Dripleaf block data is missing half property cc9610b7 #619: Add Player#breakBlock() 862bc475 Fix bad merge of SPIGOT-6502 fix 989bb0c1 Downgrade SnakeYAML due to issues with comments parsing 1dff62ae Fix inverted visual fire docs CraftBukkit Changes: 40caacc8 SPIGOT-6526: World entities are not populated when plugin onEnable is called c9a92ad0 SPIGOT-6536: Marker position not set on spawn 20d3e57c #855: Add HumanEntity#getItemInUse and Material#getSlipperiness d9c69b44 SPIGOT-6529: Fix BundleMeta#setItems 8bd43be5 SPIGOT-6535: PlayerGameModeChangeEvent event incorrectly reports old gamemode 4ece3ff3 #856: Add methods to check if item is the breed item for an entity dd4bec5f Add additional validation to Player#breakBlock bc835ae6 SPIGOT-6532: Fix Entity#setGlowing 384e116e Restore 1.16.5 behaviour of InventoryDragEvent being called even when a single item is 'dragged' to its own slot b42e708c Fix new map colors rendering as transparent cfe7fecf SPIGOT-6524: Inventory desync when InventoryClickEvent is cancelled eeae1b19 SPIGOT-6522: ItemStack on cursor is always AIR 7490724d Fix missing PlayerEditBookEvent 06875f76 SPIGOT-6513: Placing ItemStack in Inventory causes InventoryAction.NOTHING 27835bde SPIGOT-6519: Fix end gateway teleports 4ac634ad SPIGOT-6515: "Un-waterlogging" throws UnsupportedOperationException in some cases da425fa2 SPIGOT-6518: Anvils falling onto dripstone can sometimes crash server 50530da9 SPIGOT-6514: Small Dripleaf block data is missing half property 6fdecf20 #853: Implement Player#breakBlock() 4db9c49f SPIGOT-6510: Bukkit#createMap throws NullPointerException 89e2b127 SPIGOT-6517: Spider jockey crash on dripstone cbf2f678 SPIGOT-6508: Rename conflicted getServer 74575d48 SPIGOT-6506: Fix crash with custom inventories a3df386f Fix NPE with Entity.getNearbyEntities d747f8ed Fix NPE with World.getNearbyEntities 4d2c7800 Fix second usage of worldGenSettings just in case 5182f923 SPIGOT-6504: Fix generating fresh worlds Spigot Changes: 66f9d3c1 Rebuild patches 191e4971 Rebuild patches a09c0bb6 Restore Spigot experience merging * patches fix * patches and patches * patch * fix compile * Work * More work * More more work * Move this back * Fix compile * more work * fix kneny dumb * even more work * Fix recursive connection call causing StackOverflowException This was probably caused by the rename sendPacket->send and dispatchPacket->sendPacket * adjust material set tag sizes MC added a buuuunch of stuff * more patches * MOAR PATCHES * update github action to the new setup * update github action to the new setup * separate out the CI tasks * use local class for movecontrol stuff to prevent reobf mapping issue * eeeeww, maven * not even checkstyle can help us now * fix tests * EVEN MOOOOOAAAAAAARRRRRRR patches :) (#5820) * Use correct jetbrains annotations * work work (#5821) * patches * reorder patches after merge * small fixes * fix exception (#5822) * 2 patch * progress * Re-add xp orb merging patches (#5823) * ReAdded PreCreatureSpawnEvent from removed (#5814) * reorder * patches * Fix mojangapi build * Add back incremental chunk saving patch * add entity debug info patch back * more patches (#5827) * more patches * even moar patches * Add missing getLevel implementation to Hopper Minecart, add mapping to fix reobf * decomp fixes * more work uwu * fix issue in hopper patch * more work work work * even MOAR progress * need to look at this later, fails rn * even moar workkkkk * fix compile issues * even more compile fixes * fix no grav bee patch for world height changes * more patches * resolve paperweight from paper repo * run CI with --stacktrace * more patches * more patches & fixes to existing patches * add access transforming capabilities * continue to load paperclip from jfrog for now * more patches * Put pom in correct location for Paperclip install to maven local feature * Re-add Chunk Priority/Urgency System (#5829) * Organize removed patches (#5836) * tons of patches (#5835) * Fix AT format issue * Update editorconfig * patches * update mappings files * 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: ebb0e28d #631: Add Villager#shakeHead 751469c6 #629: Add LivingEntity#isClimbing CraftBukkit Changes: 622cf611 SPIGOT-6555: Cannot access shield BlockStateMeta 8b2e78ec SPIGOT-6542: Fix counting players with fauxSleeping = true f66c437a SPIGOT-6561: Add events for dripleaf tilting 6ed40004 SPIGOT-6560: Crash when falling stalactite hits player 72a2901b SPIGOT-6557: PlayerEditBookEvent#setNewBookMeta does not update meta a07e783a #865: Implement Villager#shakeHead 3252ff18 #863: Add LivingEntity#isClimbing 77058c79 SPIGOT-6554: Worlds created with the bukkit ChunkGenerator cannot save * fixes * Gradle & Paperclip updates * Fix mappings patches for Hopper getLevel issue * final patches from remapped and unmapped keep in mind many patches in the removed folder still need to be updated * update Fix incorrect status dataconverter for pre 1.13 chunks * Add back stream patch (#5838) * port some patches (#5837) * reorder patches after merge * Update to paperweight 1.0.0, with automatic library imports * Update paperweight to 1.0.1 * Run Gradle tasks in parallel by default * Remove now unnecessary scripts and update upstreamMerge.sh * Remove Paperclip submodule * 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: f992ce60 Fix duplicate datapack reload on /reload * revert accidental changes * update Optimize Pathfinder - Remove Streams / Optimized collections * Revert "Updated Upstream (CraftBukkit)" This reverts commit |
||
---|---|---|
.github | ||
build-data | ||
gradle/wrapper | ||
licenses | ||
Paper-MojangAPI | ||
patches | ||
scripts | ||
work | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
build.gradle.kts | ||
CONTRIBUTING.md | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
LICENSE.md | ||
README.md | ||
settings.gradle.kts |
Paper
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
- Documentation on using Paper: paper.readthedocs.io
- For a sneak peak on upcoming features, see here
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.16.5-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
Or alternatively, with Gradle:
- Repository:
repositories {
maven {
url 'https://papermc.io/repo/repository/maven-public/'
}
}
- Artifact:
dependencies {
compileOnly 'com.destroystokyo.paper:paper-api:1.16.5-R0.1-SNAPSHOT'
}
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.