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
-
New
/txtcommand: Generatesparticle_list.txtin theconfigdirectory, 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.sendPacketto preventSPacketParticlesnetwork 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.spawnEffectParticleandClientProxy.spawnParticle, completely disabling Tinkers' Construct particle generation (toggleable via config option).-
新增
/txt指令:在config目录下生成particle_list.txt文件,列出当前环境中的所有粒子(包括原版、模组注册以及运行时动态捕获的粒子类名),方便配置白名单/黑名单。 -
服务端发包拦截:注入
NetHandlerPlayServer.sendPacket,阻止SPacketParticles网络包发送,减少网络流量和服务端序列化开销。 -
源头拦截:注入
World.spawnParticle(func_175736_a),在粒子生成的最早阶段取消调用,避免创建粒子对象及后续逻辑,大幅降低服务端/客户端 CPU 占用。 -
匠魂模组专项优化:通过 ASM 直接清空
CommonProxy.spawnEffectParticle和ClientProxy.spawnParticle方法体,彻底禁用匠魂的粒子生成(可由配置文件开关控制)。
-