* Add version 1.21.11 * Fix 1.21.11 compilation errors from Minecraft API changes (#65) * Initial plan * Fix 1.21.11 compilation: Replace ResourceLocation with Identifier and update WaterAnimal/getSkyColor Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com> * Add type-safe instanceof check before casting sky color argument Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com> * Fix incorrect biome color representation (#66) * Fix water_creature entities no longer being classified correctly (#67) --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com> Co-authored-by: extremeheat <13713600+extremeheat@users.noreply.github.com> Co-authored-by: SuperGamerTron <45374546+SuperGamerTron@users.noreply.github.com> Co-authored-by: Paul Fulham <paul.fulham0@gmail.com>
26 lines
514 B
Groovy
26 lines
514 B
Groovy
import xyz.wagyourtail.unimined.internal.minecraft.MinecraftProvider
|
|
|
|
plugins {
|
|
id 'dg-mc-conventions'
|
|
}
|
|
|
|
unimined.minecraft {
|
|
version "1.21.11"
|
|
|
|
mappings {
|
|
mojmap()
|
|
|
|
devFallbackNamespace "mojmap"
|
|
}
|
|
|
|
customPatcher(new CustomOfficialFabricMinecraftTransformer(project, delegate as MinecraftProvider)) {
|
|
it.loader libs.versions.fabric.loader.get()
|
|
}
|
|
|
|
runs.config("server") {
|
|
javaVersion = JavaVersion.VERSION_21
|
|
}
|
|
|
|
defaultRemapJar = true
|
|
}
|