MC-264204 Fix 图标

MC-264204 Fix

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mc+264204-fix
资源信息

Minecraft 版本: 26.1 26.1.1 26.1.2

平台: fabric

标签: utility

资源介绍

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.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
InfiniStack

价格:0 墨喵币
下载量:0

查看详情
Furniture Resources (T&C2)

价格:0 墨喵币
下载量:0

查看详情
Weskerson's Nature

价格:0 墨喵币
下载量:0

查看详情
A Stand's Bizarre Journey (JoJo Modpack)

价格:0 墨喵币
下载量:0

查看详情