This commit is contained in:
GaLicn 2025-09-06 19:23:32 +08:00
parent 8f1fab8c58
commit 23532d34c5
3 changed files with 3 additions and 4 deletions

View File

@ -16,7 +16,7 @@ public abstract class ContainerUWirelessExPatternTerminalMixin {
// 1.21 环境下Glodium IActionHolder 已被移除改为 no-op 保留占位以便未来扩展 // 1.21 环境下Glodium IActionHolder 已被移除改为 no-op 保留占位以便未来扩展
// 明确目标构造签名<init>(int, Inventory, HostUWirelessExPAT) // 明确目标构造签名<init>(int, Inventory, HostUWirelessExPAT)
@Inject(method = "<init>(ILnet/minecraft/world/entity/player/Inventory;Lcom/glodblock/github/extendedae/xmod/wt/HostUWirelessExPAT;)V", at = @At("TAIL"), remap = false) @Inject(method = "<init>(ILnet/minecraft/world/entity/player/Inventory;Lcom/glodblock/github/extendedae/xmod/wt/HostUWirelessExPAT;)V", at = @At("TAIL"), remap = false)
private void init(int id, net.minecraft.world.entity.player.Inventory playerInventory, Object host, CallbackInfo ci) { private void init(int id, net.minecraft.world.entity.player.Inventory playerInventory, com.glodblock.github.extendedae.xmod.wt.HostUWirelessExPAT host, CallbackInfo ci) {
// no-op // no-op
} }
} }

View File

@ -17,7 +17,7 @@ public abstract class ContainerWirelessExPatternTerminalMixin {
// 构造方法注入显式签名 ExtendedAE 源码保持一致 // 构造方法注入显式签名 ExtendedAE 源码保持一致
@Inject(method = "<init>(ILnet/minecraft/world/entity/player/Inventory;Lcom/glodblock/github/extendedae/xmod/wt/HostWirelessExPAT;)V", at = @At("TAIL"), require = 0, remap = false) @Inject(method = "<init>(ILnet/minecraft/world/entity/player/Inventory;Lcom/glodblock/github/extendedae/xmod/wt/HostWirelessExPAT;)V", at = @At("TAIL"), require = 0, remap = false)
private void init$eap(int id, net.minecraft.world.entity.player.Inventory playerInventory, Object host, CallbackInfo ci) { private void init$eap(int id, net.minecraft.world.entity.player.Inventory playerInventory, com.glodblock.github.extendedae.xmod.wt.HostWirelessExPAT host, CallbackInfo ci) {
// no-op // no-op
} }
} }

View File

@ -27,8 +27,7 @@
"ae2.accessor.AEBaseScreenAccessor", "ae2.accessor.AEBaseScreenAccessor",
"accessor.AbstractContainerScreenAccessor", "accessor.AbstractContainerScreenAccessor",
"accessor.ScreenAccessor", "accessor.ScreenAccessor",
"extendedae.accessor.GuiExPatternTerminalAccessor", "extendedae.accessor.GuiExPatternTerminalAccessor"
"ae2WTlib.WETScreenMixin"
], ],
"injectors": { "injectors": {
"defaultRequire": 1 "defaultRequire": 1