mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-23 06:01:38 -09:00
8 lines
332 B
JavaScript
8 lines
332 B
JavaScript
// Use ModAPI.util.getMethodFromPackage to find the internal name of the block destroy effect method
|
|
// and we replace it with our own function, that does nothing.
|
|
ModAPI.hooks.methods[
|
|
ModAPI.util.getMethodFromPackage(
|
|
"net.minecraft.client.particles.EffectRenderer",
|
|
"addBlockDestroyEffects"
|
|
)
|
|
] = () => {} |