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

+1 -2
View File
@@ -1,5 +1,5 @@
{
"required": true,
"required": false,
"minVersion": "0.8",
"package": "com.github.zly2006.carpetslsaddition.mixin",
"compatibilityLevel": "JAVA_21",
@@ -13,7 +13,6 @@
"block.MixinTrialSpawnerState",
"carpet.MixinEntityPlayerMPFake",
"carpet.MixinPlayerCommand",
"datapack.MixinVanillaResourcePackProvider",
"elytra.ItemAccessor",
"elytra.MixinItem",
"entity.MixinArmadilloEntity",