Earlier Versions
Name | Size | Uploaded | Game Version | Downloads | |
compact-4.0.jar release | 26.60 KB | Nov 27, 2020 | 1.16.4 | 1,490 | Download |
compact-3.0.jar release | 35.80 KB | Jan 30, 2020 | 1.15.2 | 1,689 | Download |
compact-2.6a.jar release | 34.02 KB | Aug 6, 2019 | 1.14.4 | 7,658 | Download |
compact-2.6.jar release | 34.02 KB | Aug 6, 2019 | 1.14.4 | 20 | Download |
compact-2.4a.jar release | 25.09 KB | Jul 10, 2019 | 1.14.3 | 892 | Download |
compact-2.4.jar release | 25.07 KB | Jul 7, 2019 | 1.14.3 | 139 | Download |
compact-2.3.jar release | 20.85 KB | Jul 5, 2019 | 1.14.3 | 453 | Download |
compact-2.2.jar release | 98.56 KB | Jul 4, 2019 | 1.14.3 | 398 | Download |
compact-2.1.jar release | 137.07 KB | Jun 29, 2019 | 1.14.3 | 394 | Download |
compact-2.0.jar release | 225.07 KB | Jun 8, 2019 | 1.14.3 | 407 | Download |
compact-1.0.jar release | 225.31 KB | May 29, 2019 | 1.13.2 | 604 | Download |
Description
Overview
Compact is a mod that adds configurable compressed blocks to the game. Crafting recipes are as you expect with 3×3 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" "max_compression" : 32 |
|
}, | |
{ | |
"registry_name": "minecraft:dirt", | |
"texture": "block/dirt" "max_compression" : 32 |
|
}, | |
{ | |
"registry_name": "minecraft:netherrack", | |
"texture": "block/netherrack" "max_compression" : 32 |
|
}, | |
{ | |
"registry_name": "minecraft:sand", | |
"texture": "block/sand" "max_compression" : 32 |
|
}, | |
{ | |
"registry_name": "minecraft:gravel", | |
"texture": "block/gravel" "max_compression" : 32 |
|
} | |
], | |
"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 16×16 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
Add a comment