From ed53410e44983612cc929b0e83a90879bcc24808 Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Fri, 18 Oct 2024 15:15:55 +0800 Subject: [PATCH] comments to no_block_particles --- examplemods/no_block_particles.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examplemods/no_block_particles.js b/examplemods/no_block_particles.js index 2148ff2..5f12ee1 100644 --- a/examplemods/no_block_particles.js +++ b/examplemods/no_block_particles.js @@ -1,3 +1,5 @@ +// 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",