Back to mods
QNM project artwork

CurseForge · Minecraft mod

QNM

Prevents Quark wood posts from taking up huge amounts of memory in large modpacks and crashing servers with out-of-memory errors.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which QNM release should I use?

Updated 29 days ago
Latest stable file qnm-1.0.0.jar
Game version 1.20.1
Loader Forge

qnm-1.0.0.jar targets 1.20.1 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.

Where it goes

Is QNM required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does qnm-1.0.0.jar need?

qnm-1.0.0.jar. Change the file and its required mods may change too.

All 2 required mods have matching files

Install Quark, Zeta first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

1 listed on this file 1 pulled in by one of those mods
Quark Needed by qnm-1.0.0.jar
required
Matching file found Matched file: Quark-4.0-462.jar
Zeta Needed by Quark
pulled in
Matching file found Matched file: Zeta-1.0-31.jar

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add QNM without breaking your instance.

Built for qnm-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use qnm-1.0.0.jar. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Quark, Zeta first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside qnm-1.0.0.jar. It opens that exact file at the source.

About this project

What does QNM add?

Real-World Results

Test environment: Linux server, 20 GB RAM, modpack with 300+ mods.

Without QNM With QNM
Stability Crashed with OOM after about 2 hours on average Ran 24 hours straight with no crash
Memory usage Kept climbing until the heap was full Stayed at about 10 GB

The Problem

Every Quark wood post registers 6 directional connection properties, each with 3 possible values. That gives 4,374 block states per post, or 122,472 across all 28 post variants, about 84% of all of Quark's block states.

All of these states are created at startup and stay in memory for the whole session. This happens even if no posts are ever placed, and turning off the Wooden Posts module in Quark's config does not remove them. Mods that keep their own copy of every block state, such as WorldEdit, multiply the cost.

The Fix

  • Each post keeps only its axis and waterlogged properties. That cuts its states from 4,374 to 6, and the total from 122,472 to 168, a reduction of about 99.86%.
  • Connections to chains, lanterns, hanging signs and other posts are worked out from the neighboring blocks instead of being stored. They look and collide the same as in vanilla Quark.
  • No block entities, no per-tick scanning and no per-position caches. The extra cost is fixed and does not grow with the number of posts placed.
  • The client still uses Quark's original models and textures, so standard multipart resource packs keep working.

Notes

  • Required on both client and server.
  • Block IDs, axis and waterlogged state are kept, so existing worlds load normally and connections come back from neighboring blocks. Back up your world before using it for the first time.
  • connect_* properties can no longer be set with commands.

Project description from CurseForge.

Pick your setup

QNM by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

QNM versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.