项目作者: punkeel

项目描述 :
Fix Minecraft's Combat Particles
高级语言: Java
项目地址: git://github.com/punkeel/CombatParticlesFix.git
创建时间: 2018-01-07T01:18:04Z
项目社区:https://github.com/punkeel/CombatParticlesFix

开源协议:MIT License

下载


Combat Particles Fix

This mod fixesthe wonky behavior introduced in Minecraft 1.8.4 that displays critical particles
(blue for sharpness, white on critical hit) client side, when this should be handled server-side. And this IS handled
server side! Hence the particles are displayed twice.

This mod is compatible and tested with Forge 1.8, 1.9, 1.10, 1.11 and 1.12

The code itself is quite simple as it relies on the AttackEntityEvent event, called right before the particles are
displayed.

When using the mod, only valid hits trigger particles. Without it, this happens:

This is when hitting a static entity. Imagine how this feels during a combat!

Downloads

Place this jar file in your mods folder, and you’re done.

ParticlesFix-1.0.jar

Plugin Message Channel

The mod register a Plugin Message channel, ParticlesFix. Servers are able to disable the behaviour of this mod by
sending this byte message: new byte[]{0x00, 0x00};.
The first 0x00 is the discriminator (the message’s ID), the second one is the byte representation of false.

Disclaimer

Use this mod at your own risk.