-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dw, they're kept up on a private repository
- Loading branch information
0 parents
commit 2570c66
Showing
47 changed files
with
7,150 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[*.java] | ||
charset=utf-8 | ||
end_of_line=lf | ||
insert_final_newline=true | ||
indent_style=space | ||
indent_size=4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
* text=auto | ||
|
||
*.sh text eol=lf | ||
gradlew text eol=lf | ||
*.bat text eol=crlf | ||
|
||
*.jar binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
.gradle/ | ||
build/ | ||
|
||
# Eclipse stuff | ||
.classpath | ||
.project | ||
.settings/ | ||
|
||
# VSCode stuff | ||
.vscode/ | ||
|
||
# netbeans | ||
nbproject/ | ||
nbactions.xml | ||
|
||
# we use maven! | ||
build.xml | ||
|
||
# maven | ||
target/ | ||
dependency-reduced-pom.xml | ||
|
||
# vim | ||
.*.sw[a-p] | ||
|
||
# various other potential build files | ||
build/ | ||
bin/ | ||
dist/ | ||
manifest.mf | ||
|
||
# Mac filesystem dust | ||
.DS_Store/ | ||
.DS_Store | ||
|
||
# intellij | ||
*.iml | ||
*.ipr | ||
*.iws | ||
.idea/ | ||
out/ | ||
|
||
# Linux temp files | ||
*~ | ||
|
||
# other stuff | ||
run/ | ||
|
||
Sakura-Server | ||
Sakura-API | ||
|
||
!gradle/wrapper/gradle-wrapper.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Sakura | ||
=========== | ||
This is a fork of Paper to optimise cannoning intended for cannon and factions servers on modern versions. | ||
|
||
--- | ||
|
||
Initially this repository will be publicised with just some cannon optimisations. | ||
Later updates will bring feature parity with [Blossom](https://github.com/Samsuik/Blossom) and the private Sakura builds is planned. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# You can use this file to import files from minecraft libraries into the project | ||
# format: | ||
# <artifactId> <fileName> | ||
# both fully qualified and a file based syntax are accepted for <fileName>: | ||
# authlib com/mojang/authlib/yggdrasil/YggdrasilGameProfileRepository.java | ||
# datafixerupper com.mojang.datafixers.DataFixerBuilder | ||
# datafixerupper com/mojang/datafixers/util/Either.java | ||
# To import classes from the vanilla Minecraft jar use `minecraft` as the artifactId: | ||
# minecraft net.minecraft.world.level.entity.LevelEntityGetterAdapter | ||
# minecraft net/minecraft/world/level/entity/LevelEntityGetter.java | ||
minecraft net.minecraft.world.level.block.piston.PistonStructureResolver | ||
minecraft net.minecraft.network.protocol.game.ClientboundSectionBlocksUpdatePacket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
import io.papermc.paperweight.util.constants.PAPERCLIP_CONFIG | ||
|
||
plugins { | ||
java | ||
id("com.github.johnrengelman.shadow") version "8.1.1" apply false | ||
id("io.papermc.paperweight.patcher") version "1.5.7" | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://papermc.io/repo/repository/maven-public/") { | ||
content { onlyForConfigurations(PAPERCLIP_CONFIG) } | ||
} | ||
} | ||
|
||
dependencies { | ||
remapper("net.fabricmc:tiny-remapper:0.8.6:fat") | ||
decompiler("net.minecraftforge:forgeflower:2.0.627.2") | ||
paperclip("io.papermc:paperclip:3.0.3") | ||
} | ||
|
||
subprojects { | ||
apply(plugin = "java") | ||
|
||
java { | ||
toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } | ||
} | ||
|
||
tasks.withType<JavaCompile>().configureEach { | ||
options.encoding = "UTF-8" | ||
options.release.set(17) | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven("https://oss.sonatype.org/content/groups/public/") | ||
maven("https://papermc.io/repo/repository/maven-public/") | ||
maven("https://ci.emc.gs/nexus/content/groups/aikar/") | ||
maven("https://repo.aikar.co/content/groups/aikar") | ||
maven("https://repo.md-5.net/content/repositories/releases/") | ||
maven("https://hub.spigotmc.org/nexus/content/groups/public/") | ||
maven("https://jitpack.io") | ||
} | ||
} | ||
|
||
paperweight { | ||
serverProject.set(project(":sakura-server")) | ||
|
||
remapRepo.set("https://maven.fabricmc.net/") | ||
decompileRepo.set("https://files.minecraftforge.net/maven/") | ||
|
||
usePaperUpstream(providers.gradleProperty("paperRef")) { | ||
withPaperPatcher { | ||
apiPatchDir.set(layout.projectDirectory.dir("patches/api")) | ||
apiOutputDir.set(layout.projectDirectory.dir("sakura-api")) | ||
|
||
serverPatchDir.set(layout.projectDirectory.dir("patches/server")) | ||
serverOutputDir.set(layout.projectDirectory.dir("sakura-server")) | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
group=me.samsuik.sakura | ||
version=1.20.2-R0.1-SNAPSHOT | ||
|
||
mcVersion=1.20.2 | ||
paperRef=08c0b488b9f1e56a4465cfabe6212d0351b69e59 | ||
|
||
org.gradle.jvmargs=-Xmx2G | ||
|
||
org.gradle.caching=true | ||
org.gradle.parallel=true | ||
org.gradle.daemon=true | ||
# org.gradle.configureondemand=true |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.