no particle

NoParticle blocks all particles by default, only shows whitelisted ones, supports /again hot-reload, /txt particle list export, and offers source-level interception plus Tinkers' Construct optimization.

File Details

no_particle-1.1.jar

  • R
  • May 17, 2026
  • 24.07 KB
  • 0
  • 1.12.2
  • Forge

File Name

no_particle-1.1.jar

Supported Versions

  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:no-particle-1543626:8104981")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

  • New /txt command: Generates particle_list.txt in the config directory, listing all particles present in the current environment (including vanilla, mod-registered, and runtime-captured particle class names) to facilitate whitelist/blacklist configuration.

  • Server-side packet interception: Injects into NetHandlerPlayServer.sendPacket to prevent SPacketParticles network packets from being sent, reducing network traffic and server-side serialization overhead.

  • Source-level interception: Injects into World.spawnParticle (func_175736_a) to cancel the call at the earliest stage of particle generation, avoiding the creation of particle objects and subsequent logic, greatly reducing server/client CPU usage.

  • Tinkers' Construct optimization: Uses ASM to directly clear the method bodies of CommonProxy.spawnEffectParticle and ClientProxy.spawnParticle, completely disabling Tinkers' Construct particle generation (toggleable via config option).

    • 新增 /txt 指令:在 config 目录下生成 particle_list.txt 文件,列出当前环境中的所有粒子(包括原版、模组注册以及运行时动态捕获的粒子类名),方便配置白名单/黑名单。

    • 服务端发包拦截:注入 NetHandlerPlayServer.sendPacket,阻止 SPacketParticles 网络包发送,减少网络流量和服务端序列化开销。

    • 源头拦截:注入 World.spawnParticlefunc_175736_a),在粒子生成的最早阶段取消调用,避免创建粒子对象及后续逻辑,大幅降低服务端/客户端 CPU 占用。

    • 匠魂模组专项优化:通过 ASM 直接清空 CommonProxy.spawnEffectParticle 和 ClientProxy.spawnParticle 方法体,彻底禁用匠魂的粒子生成(可由配置文件开关控制)。