该mod在使用左手攻击实体时会出现严重报错,不建议使用。另外,左手挥击时一律为满攻击,不会触发冷却从而进行攻击力衰减,破坏游戏平衡性。
- [04:34:38] [Server thread/FATAL]: Error executing task
- java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Expected to be capturing ItemStack drops from entities, but we're not capturing them! Please analyze the current phase context.
- at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_101]
- at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_101]
- at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
- at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668) [MinecraftServer.class:?]
- at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
- at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
- at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
- at java.lang.Thread.run(Unknown Source) [?:1.8.0_101]
- Caused by: java.lang.IllegalStateException: Expected to be capturing ItemStack drops from entities, but we're not capturing them! Please analyze the current phase context.
- at org.spongepowered.common.event.tracking.phase.util.PhaseUtil.lambda$throwWithContext$0(PhaseUtil.java:44) ~[PhaseUtil.class:1.10.2-2026-5.0.0-BETA-1599]
- at java.util.Optional.orElseThrow(Unknown Source) ~[?:1.8.0_101]
- at org.spongepowered.common.event.tracking.PhaseContext.getCapturedItemStackSupplier(PhaseContext.java:250) ~[PhaseContext.class:1.10.2-2026-5.0.0-BETA-1599]
- at org.spongepowered.common.entity.EntityUtil.entityOnDropItem(EntityUtil.java:647) ~[EntityUtil.class:1.10.2-2026-5.0.0-BETA-1599]
- at net.minecraft.entity.Entity.handler$spongeEntityDropItem$0(Entity.java:1166) ~[rw.class:?]
- at net.minecraft.entity.Entity.func_70099_a(Entity.java) ~[rw.class:?]
- at net.minecraft.entity.EntityLiving.func_184610_a(EntityLiving.java:548) ~[sg.class:?]
- at net.minecraft.entity.EntityLivingBase.func_70645_a(EntityLivingBase.java:261) ~[sf.class:?]
- at bettercombat.mod.main.DefaultImplSecondHurtTimer.attackEntityFromOffhand(DefaultImplSecondHurtTimer.java:184) ~[DefaultImplSecondHurtTimer.class:?]
- at bettercombat.mod.main.BetterCombatEventHandler.attackTargetEntityWithOffhandItem(BetterCombatEventHandler.java:789) ~[BetterCombatEventHandler.class:?]
- at bettercombat.mod.main.PacketOffhandAttack$Handler.handle(PacketOffhandAttack.java:62) ~[PacketOffhandAttack$Handler.class:?]
- at bettercombat.mod.main.PacketOffhandAttack$Handler.access$000(PacketOffhandAttack.java:39) ~[PacketOffhandAttack$Handler.class:?]
- at bettercombat.mod.main.PacketOffhandAttack$Handler$1.run(PacketOffhandAttack.java:49) ~[PacketOffhandAttack$Handler$1.class:?]
- at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_101]
- at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_101]
- at net.minecraft.util.Util.func_181617_a(SourceFile:45) ~[h.class:?]
- ... 5 more
复制代码