* Add 1.21.3 * Update registry manager get() calls to getOrThrow() * Update BlocksDataGenerator * Update EnchantmentsDataGenerator * Update EntitiesDataGenerator * Update ItemsDataGenerator * Update RecipeDataGenerator * Update EmptyRenderBlockView * Fix Recipe Generator & add Sound Generator * Move to proper directory * Remove extra spaces * Enable all features --------- Co-authored-by: Romain Beaumont <romain.rom1@gmail.com> Co-authored-by: GroobleDierne <grooble.dierne@gmail.com> Co-authored-by: AlexProgrammerDE <40795980+AlexProgrammerDE@users.noreply.github.com>
48 lines
948 B
Groovy
48 lines
948 B
Groovy
import xyz.wagyourtail.unimined.api.minecraft.task.RemapJarTask
|
|
import xyz.wagyourtail.unimined.internal.minecraft.MinecraftProvider
|
|
|
|
plugins {
|
|
id 'xyz.wagyourtail.unimined'
|
|
}
|
|
|
|
unimined.minecraft {
|
|
version "1.21.3"
|
|
|
|
mappings {
|
|
intermediary()
|
|
yarn(1)
|
|
|
|
devFallbackNamespace "intermediary"
|
|
}
|
|
|
|
runs.config("server") {
|
|
javaVersion = JavaVersion.VERSION_21
|
|
}
|
|
|
|
customPatcher(new CustomOfficialFabricMinecraftTransformer(project, delegate as MinecraftProvider)) {
|
|
it.loader libs.versions.fabric.loader.get()
|
|
}
|
|
|
|
defaultRemapJar = true
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(":common")
|
|
}
|
|
|
|
processResources {
|
|
filteringCharset "UTF-8"
|
|
|
|
filesMatching("fabric.mod.json") {
|
|
expand "version": project.version
|
|
}
|
|
}
|
|
|
|
tasks.withType(RemapJarTask).configureEach {
|
|
onlyIf { false}
|
|
}
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
it.options.encoding = "UTF-8"
|
|
}
|