Back to mods
Compact project artwork

CurseForge · Minecraft mod

Compact

Highly Configurable Compressed blocks for 1.13+

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

Quick answer

Which Compact release should I use?

Updated 5 years ago
Latest stable file compact-4.0.jar
Game version 1.16.4
Loader Not required

compact-4.0.jar targets 1.16.4. The project page does not say whether this file belongs on the client, dedicated server, or both. 1 required mod needs a matching file.

Where it goes

Is Compact 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 No loader listed
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 compact-4.0.jar need?

compact-4.0.jar. Change the file and its required mods may change too.

1 required mod needs a matching file

Install Advanced Runtime Resource Pack (Forge) first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Compact without breaking your instance.

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

  1. 01

    Stick to this file

    Use compact-4.0.jar. It targets 1.16.4; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Advanced Runtime Resource Pack (Forge) first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.

  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 compact-4.0.jar. It opens that exact file at the source.

About this project

What does Compact add?

Overview

Compact is a mod that adds configurable compressed blocks to the game. Crafting recipes are as you expect with 3x3 compressing up to the next level with reversal.

What makes it different from the dozens of other mods that add compressed blocks?

* Unlike most traditional compressed blocks mods which have a hardcoded list of blocks, or hardcoded compression limit, this mod allows you to configure both, including modded blocks.

* In addition, this mod creates a unique block for every compression/compressible so that they can be easily used in recipes without having to remember complex prefixes or fiddle with NBT. For example, all compact registrynames will be in the form of compressed:cobblestone_1x

* Because this mod uses registry names instead of NBT to differentiate between them, no Tile Entities are required and it will work with mods like Project E that don't support NBT based implementations (Like Preston for example).

How does it work?

First configure the blocks that you want to be compressible(this includes most modded blocks), defaults are provided below,

Next, configure the max number of times that they are compressible from 1 (default: 32) up to 2 billion max although the game will crash so don't set it that high, remember every compression level/compressible is a new block.

Example is provided in the config file

Example config

{
"compressible": [
{
"registry_name": "minecraft:cobblestone",
"texture": "block/cobblestone"

<br>"max_compression" : 32<br>
},
{
"registry_name": "minecraft:dirt",
"texture": "block/dirt"

<br>"max_compression" : 32<br>
},
{
"registry_name": "minecraft:netherrack",
"texture": "block/netherrack"

<br>"max_compression" : 32<br>
},
{
"registry_name": "minecraft:sand",
"texture": "block/sand"

<br>"max_compression" : 32<br>
},
{
"registry_name": "minecraft:gravel",
"texture": "block/gravel"

<br>"max_compression" : 32<br>
}
],
"loaded_blocks": -1
}

Once configured, the resource pack will be automatically created and will not change until the config does.

Possible Overhead

Given that the mod can arbitrarily define any number of blocks, steps have been taken to ensure the lowest overhead possible while still being user friendly

The mod adds only 1 16x16 texture of it's own, the rest are taken from already existing textures via the config, this avoids the possibility of running into TextureStichExceptions or needlessly bloating the texture atlas, meaning less ram used.

This mod only has one model file that it uses to name and tint the compressed blocks, and uses IBlockColor for the different levels of compression to avoid the need for additional textures.

Anything else that is needed is generated in the external resource pack and loaded to give models/textures to the autogenerated blocks.

Dangers

* Even though Minecraft now has a 2 billion block id limit, a block is still a block and adding too many blocks to the game will slow it down and increase ram usage, don't add more compression levels than you will use.

* Because this mod's config is loaded before block registration, changing it may make you unable to join servers if you have the incorrect blocks so they must be kept in sync.

Defaults

In groups of 4x compression:

Contact info

Discord for all of my projects: https://discord.gg/T6xdX7G

Project description from CurseForge.

Pick your setup

Compact by Minecraft version and loader

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

7 available setups

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

Recent files

Compact versions and loaders

11 of 11 releases match

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