Loading...
Beta Modpages Unclaimed

Compact

Highly Configurable Compressed blocks for 1.13+

0 Likes
17362 Downloads
Created by tfarecnim

Description

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"

"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 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


AD Become Premium to remove Ads!

What means Verified?

  • Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
  • Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
  • Security: The mod should not contain any malicious code or attempts to steal personal information.
  • Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
  • Originality: The mod should be original and not a copy of someone else's work.
  • Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
  • Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
  • License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
  • Documentation: The mod should come with clear and detailed documentation on how to install and use it.

AD Become Premium to remove Ads!

How to Install

1

Download Forge & Java

Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.

2

Prepare

Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.

3

Add Mods

Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder

4

Enjoy

You are now Ready. Re-start your Game and start Playing.

More Mods like this

Botania

An innovative natural magic themed tech mod

Thermal Expansion

Expanding Minecraft Thermally! A server-friendly and content-rich blend of magic and technology!

Mekanism

High-tech machinery, powerful energy generation, fancy gadgets and more. Now on Curse!

Industrial Foregoing

A collection of machines to make your minecraft builds easier to automate

Flux Networks

Wireless Energy Networks, compatible with FE/EU/RF/TESLA/AE

Create

Aesthetic Technology that empowers the Player