Skip to content
This repository was archived by the owner on Jun 19, 2021. It is now read-only.

Commit 2372955

Browse files
author
Simon Gardling
committed
rebase c2me port
1 parent fd74d8f commit 2372955

11 files changed

+1436
-9
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
matrix:
30-
java: [ '8', '11', '15', '16' ]
30+
java: [ '11', '15', '16' ]
3131
fail-fast: false
3232
steps:
3333
- uses: actions/checkout@v2

Jenkinsfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pipeline {
99
stages {
1010
stage('Cleanup') {
1111
tools {
12-
jdk "OpenJDK 8"
12+
jdk "OpenJDK 11"
1313
}
1414
steps {
1515
scmSkip(deleteBuild: true, skipPattern:'.*\\[CI-SKIP\\].*')
@@ -29,7 +29,7 @@ pipeline {
2929
}
3030
stage('Init project & submodules') {
3131
tools {
32-
jdk "OpenJDK 8"
32+
jdk "OpenJDK 11"
3333
}
3434
steps {
3535
withMaven(
@@ -43,7 +43,7 @@ pipeline {
4343
}
4444
stage('Decompile & apply patches') {
4545
tools {
46-
jdk "OpenJDK 8"
46+
jdk "OpenJDK 11"
4747
}
4848
steps {
4949
withMaven(
@@ -60,7 +60,7 @@ pipeline {
6060
}
6161
stage('Build') {
6262
tools {
63-
jdk "OpenJDK 8"
63+
jdk "OpenJDK 11"
6464
}
6565
steps {
6666
withMaven(
@@ -76,7 +76,8 @@ pipeline {
7676
paperworkdir="$basedir/Paper/work"
7777
mcver=$(cat "$paperworkdir/BuildData/info.json" | grep minecraftVersion | cut -d '"' -f 4)
7878
79-
patchedJarPath="$basedir/Yatopia-Server/build/libs/yatopia-server-$mcver-R0.1-SNAPSHOT.jar"
79+
patchedJarPath=$(find "$basedir/Yatopia-Server/build/libs/" -type f -name "*.jar" | grep -v '\\-sources.jar$')
80+
8081
vanillaJarPath="$paperworkdir/Minecraft/$mcver/$mcver.jar"
8182
8283
cd "$paperworkdir/Paperclip"

PATCHES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ This is an overview over all patches that are currently used.
105105
| server | Breedable Polar Bears | William Blake Galbreath | |
106106
| api | Bring back server name | William Blake Galbreath | |
107107
| server | Bring back server name | William Blake Galbreath | |
108+
| server | C2ME Port | ishland | Simon Gardling |
108109
| server | Cache climbing check for activation | Paul Sauve | |
109110
| server | Cache coordinate key for micro opt | Paul Sauve | |
110111
| server | Cache entityhuman display name | Paul Sauve | |
@@ -229,6 +230,7 @@ This is an overview over all patches that are currently used.
229230
| server | Fix the dead lagging the server | William Blake Galbreath | |
230231
| server | Fix vanilla command permission handler | William Blake Galbreath | |
231232
| server | Flying squids! Oh my! | William Blake Galbreath | |
233+
| server | Force world save | ishland | |
232234
| api | Full netherite armor grants fire resistance | BillyGalbreath | |
233235
| server | Full netherite armor grants fire resistance | BillyGalbreath | |
234236
| server | Gamemode extra permissions | BillyGalbreath | |
@@ -293,6 +295,7 @@ This is an overview over all patches that are currently used.
293295
| server | Movement options for armor stands | Mariell Hoversholm | |
294296
| server | Multi-Threaded Server Ticking Vanilla | Spottedleaf | |
295297
| server | Multi-Threaded ticking CraftBukkit | Spottedleaf | |
298+
| server | Multi-threaded World Upgrade | ishland | |
296299
| server | Name craft scheduler threads according to the plugin using | Spottedleaf | |
297300
| server | New nbt cache | Hugo Planque | ishland |
298301
| server | Nuke streams off BlockPosition | Ivan Pekov | |
@@ -439,11 +442,14 @@ This is an overview over all patches that are currently used.
439442
| server | Zombie horse naturally spawn | William Blake Galbreath | |
440443
| server | add config for logging login location | Simon Gardling | |
441444
| server | dont load chunks for physics | Aikar | |
445+
| api | java 11 | Simon Gardling | |
446+
| server | java 11 | Simon Gardling | |
442447
| server | lithium DataTrackerMixin | JellySquid | tr7zw |
443448
| server | lithium HashedList | JellySquid | |
444449
| server | lithium MixinBox | JellySquid | |
445450
| server | lithium MixinDirection | JellySquid | |
446451
| server | lithium MixinGoalSelector | JellySquid | |
452+
| server | lithium MultiNoiseBiomeSourceMixin | ishland | |
447453
| server | lithium NoiseChunkGeneratorMixin | JellySquid | |
448454
| server | lithium PerlinNoiseSamplerMixin | JellySquid | Bud Gidiere |
449455
| server | lithium VoronoiBiomeAccessTypeMixin | JellySquid | |

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ subprojects {
5959
}
6060

6161
java {
62-
if(JavaVersion.VERSION_1_8 > JavaVersion.current()){
63-
error("This build must be run with Java 8 or better")
62+
if(JavaVersion.VERSION_11 > JavaVersion.current()){
63+
error("This build must be run with Java 11 or later")
6464
}
65-
sourceCompatibility = JavaVersion.VERSION_1_8
65+
sourceCompatibility = JavaVersion.VERSION_11
6666
targetCompatibility = JavaVersion.current()
6767
withSourcesJar()
6868
}

patches/api/0009-java-11.patch

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Simon Gardling <[email protected]>
3+
Date: Fri, 23 Apr 2021 11:11:13 -0400
4+
Subject: [PATCH] java 11
5+
6+
7+
diff --git a/pom.xml b/pom.xml
8+
index cc3149a51f5780b73c11492e13dbe7eb86d83e6c..6143478e7e4bfb12208b290b64eee0f95a84f445 100644
9+
--- a/pom.xml
10+
+++ b/pom.xml
11+
@@ -19,8 +19,8 @@
12+
13+
<properties>
14+
<!-- <skipTests>true</skipTests> Paper - This [was] not going to end well -->
15+
- <maven.compiler.source>1.8</maven.compiler.source>
16+
- <maven.compiler.target>1.8</maven.compiler.target>
17+
+ <maven.compiler.source>11</maven.compiler.source>
18+
+ <maven.compiler.target>11</maven.compiler.target>
19+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
20+
<adventure.version>4.7.0</adventure.version> <!-- Paper - When updating this make sure to update the linked JavaDocs on the homepage as well! -->
21+
</properties>

0 commit comments

Comments
 (0)