跳到正文

MC-264204 Fix

作者:diskria

A server-side mod that fixes a bug when the death from a goat ramming is not tracked by advancements and statistics.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

MC-264204 Fix

A server-side mod that fixes a bug when the death from a goat is not tracked by advancements and statistics. This issue is tracked here: https://bugs.mojang.com/browse/MC-264204.

Technical description

The damage dealt by the goat has a unique NO_ANGER flag, which hides the attacking entity from the attacked one, thereby preventing mobs from becoming aggressive in response to the attack. However, this flag does not account for cases where the attacked entity is a player. In such cases, it should not function this way, since players are not mobs.

The fix involves skipping the check for this flag when the attacked entity is a player, allowing the player to be aware of the attacking entity, so advancements and statistics triggers will be works.

This hasn’t been taken into account since Mojang added the goat, but in Minecraft 1.20 it broke because they did a refactoring and removed the code that was making it work more or less correctly.

常见问题

MC-264204 Fix 支持哪些 Minecraft 版本?

MC-264204 Fix 支持 Minecraft Java 版 1.20–26.2,共 23 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

MC-264204 Fix 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

diskria 的其他作品

查看全部 →