All Mods Resource Packs Data Packs Shaders Modpacks Plugins
MC-264204 Fix

MC-264204 Fix

by diskria • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

How to Install MC-264204 Fix (Mod)

MC-264204 Fix by diskria is verified for Fabric across Minecraft versions 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21 (latest release: 1.0, file size: 7 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded MC-264204 Fix file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2
Fabric
3mo ago 1
26.1.x
Fabric
8mo ago 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.x 1.20.x
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
MC-264204 Fix Icon
Download MC-264204 Fix
Select game version
Select platform