SnowballFix Patcher

基本信息

修复伤害为 0 的投射物(雪球)无法击退玩家的问题。 来源:BugfixMod / williewillus。配置开关 snowballFix(默认 true)。

目标

项 值
补丁名 SnowballFix
目标类 net/minecraft/entity/player/EntityPlayer
目标方法 EntityPlayer.attackEntityFrom
描述符 (Lnet/minecraft/util/DamageSource;F)Z
SRG func_70097_a

补丁名为 SnowballFix,但目标类/方法与 HeartFlashFix 的 func_70097_a 同名方法, 区别在于目标类不同(EntityPlayer vs EntityClientPlayerMP)。

平台无关

未列入专用服务器的强制降级名单(降级只针对 BoatDesyncFix / HeartBlink / HeartFlash 三项),服务端同样生效。

相关条目

源码

  • src/main/java/pl/asie/foamfix/bugfixmod/coremod/patchers/SnowballFixPatcher.java