sfcraft 2.0 (#47)

* play with polymer

* new features checkpoint 1

* squash! new features and our own art assets!

* refactor && agents.md

* new command gps

* add new variant of undying totem

* refactor cauldron recipe handling to use stable IDs instead of indices

* add recipes

* remove irrelavant parent from blaze_bomb

* clean up

* add: anti spam module

* implement i18n for remaining texts
This commit is contained in:
iceBear67 authored and GitHub committed 2026-07-20 18:33:15 +08:00
1 parent 19e16a575e
commit 1c4c64a63d
105 files changed
+5343 -69

No files matched your search

+19
View File
@@ -18,6 +18,7 @@ repositories {
name "kalculosSnapshots"
url "https://repo.sfclub.cc/snapshots"
}
maven { url 'https://maven.nucleoid.xyz' } // You should have it
}
dependencies {
@@ -35,6 +36,11 @@ dependencies {
}
shadow("io.ib67.kiwi:lang:1.2.3-SNAPSHOT")
shadow('com.github.houbb:pinyin:0.4.0')
def polymerVersion = "0.17.3+26.2"
implementation include("eu.pb4:polymer-core:$polymerVersion")
implementation include("eu.pb4:polymer-virtual-entity:$polymerVersion")
implementation include("eu.pb4:polymer-resource-pack:$polymerVersion")
implementation include("eu.pb4:polymer-blocks:$polymerVersion")
shadow('com.google.inject:guice:7.0.0') {
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'com.google.guava', module: 'listenablefuture'
@@ -85,6 +91,19 @@ java {
withSourcesJar()
}
tasks.register("packageTestResources", Zip) {
archiveFileName = "resources.zip"
destinationDirectory = layout.projectDirectory.dir("run/world")
from("src/main/resources/assets/sfcraft") {
into("assets/sfcraft")
}
}
runServer {
dependsOn packageTestResources
}
loom {
accessWidenerPath = file("src/main/resources/sfcraft.accesswidener")
}