fix: 修复 26.1.2 运行时 mixin 问题
build / build (push) Has been cancelled

- MixinServerPlayerEntity: 移除失效的 @Shadow isSpectator,packDirty 加 null 检查(修复 playerSit 崩溃) & - MixinSpawnHelper: 改用 @Inject getMobForSpawn,避免与 Carpet NaturalSpawnerMixin 的 @Redirect 冲突 & - MixinBoatEntity: 改挂 AbstractBoat.tick(Boat 无 tick) & - MixinMobEntity: 移除对接口 default 方法的无效 @Shadow & - MixinPlayerInventory: creativeNoInfinitePickup 改用 hasInfiniteMaterials(原 isInCreativeMode 已不存在) & - MixinRedstoneWireBlock: oldRedstoneConnectionLogic 改挂 getConnectingSide & - 禁用 datapack.MixinVanillaResourcePackProvider(新版资源包系统重构,待重写) & - ServerMain: registerCommands 加日志+异常捕获
This commit is contained in:
AxTps committed 2026-10-03 08:15:04 +08:00
1 parent 8e44aaa780
commit 6687583c96
9 files changed
+46 -35

No files matched your search

+6 -4
View File
@@ -53,10 +53,11 @@ loom {
}
processResources {
inputs.property "version", project.version
def modVersion = project.version
inputs.property "version", modVersion
filesMatching("fabric.mod.json") {
expand "version": project.version
expand "version": modVersion
}
}
@@ -76,8 +77,9 @@ java {
}
jar {
def baseName = project.base.archivesName.get()
from("LICENSE") {
rename { "${it}_${project.archivesBaseName}"}
rename { "${it}_${baseName}"}
}
}
@@ -96,4 +98,4 @@ publishing {
// The repositories here will be used for publishing your artifact, not for
// retrieving dependencies.
}
}
}