Block Compressors: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
m (→‎History: Correct "datapack" to "data pack" where applicable.)
(1.15 details)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Block Compressors|icon=block_compressors.png|type=Reliant|requires=[[Custom Crafters]]|creator=Sparks|updater=SunderB|versions=1.12}}
{{ModuleInfobox|name=Block Compressors|icon=block_compressors.png|type=Reliant|requires=[[Custom Crafters]]|creator=Sparks|updater=SunderB, Misode|versions=1.15}}
This module allows you to compress and decompress any stackable item or block by *16 or *64.
This module allows you to compress stacks of items into a single item for better storage.


== Details ==
== Features ==


=== Creation ===
=== General ===
Insert the recipe below into a [[Custom Crafters|Custom Crafter]] to upgrade it into a Block Compressor. The GUI of a Block Compressor is used as an interface to change the settings.
The Block Compressor is an upgrade to a [[Custom Crafters|Custom Crafter]] that transforms it into a machine that compresses and decompresses items on top of it. This module requires the [[Custom Crafters|Custom Crafter]]<nowiki/>s module to be installed to work correctly.
 
Items can be compressed by a factor of 64 or 16, meaning that a single "64 compressed stick" is made from 64 regular sticks. Compressed items enable containers like chests and shulker boxes to hold vastly greater quantities of items.  


[[File:Block_compressor_creation.png]]
Compressed items can easily be decompressed back into their original state to be used in crafting and building. Be careful though, if a compressed item is placed as a block it will lose its compressed state. For example, if a *64 compressed diamond block is placed on the ground, 63 diamond blocks will have just been lost.
[[File:Block Compressor.png|thumb|alt=|A Block Compressor]]


=== Creation ===
Insert the recipe below into a [[Custom Crafters|Custom Crafter]] to upgrade it into a Block Compressor. When broken, the Block Compressor will drop both the items used to create a Custom Crafter and the items used to upgrade it into a Block Compressor.{{Crafting
| Input = {{CraftingGrid
| Iron Ingot | Obsidian | Iron Ingot
| Piston | Purpur Block | Piston
| Iron Ingot | Obsidian | Iron Ingot
}}
| Output =[[File:compressor_block_model.png|64px]]
|Name=Custom Crafter}}
=== Compressing and Decompressing ===
=== Compressing and Decompressing ===
A Block Compressor has 3 modes. It can compress *16, compress *64, or decompress. To set compression, place a stack of either 16 or 64 items (of any type) into the middle slot of the Block Compressor GUI. To set decompression, place a single item (of any type) into the middle slot of the GUI.
The GUI of a Block Compressor is used as a settings interface for the type of compression it will do. A Block Compressor has 3 modes. It can compress *16, compress *64, or decompress.  
{| class="wikitable"
|+
!Compressor Mode
!Items inside Compressor
|-
|Compress *64
|64 of any item into any slot
|-
|Compress *16
|16 of any item into any slot
|-
|Decompress
|1 of any item into any slot
|}
Once compression mode is set, throw items on-top of the Compressor to compress/decompress them.
[[File:Compression Process.png|none|thumb|600x600px|alt=|Compression Process]]
 
=== Technical Details ===
A chest full of *64 compressed items can hold a total of 110,592 items, 6400% more than a chest of uncompressed items (1728 items).


If compression is set, throw a stack of either 16, or 64 (depending on the mode) on the top of the Block Compressor. If decompression is set, throw a single compressed item on the top of the Block Compressor.
A chest full of shulker boxes, each full of *64 compressed items, can hold 2,985,984 items.  


=== Bugs ===
=== Advancements ===
Compressors are unable to compress items with custom data, such as lore or skull texture data, without destroying said data. This bug is due to limitations in minecraft commands and nbt editing. Lores and enchantments are not saved through compression either.
{| class="wikitable"
|+
!Advancement
!Description
!Requirement
|-
|Clever Crushing
|Make yourself a Block Compressor
|Create a Block Compressor
|}


== Learn More and Download ==
== Learn More and Download ==
{{YouTube|url=https://youtu.be/sdrTJYjL8C0}} {{Download|url=https://gm4.co/modules/block-compressors}}
{{YouTube|url=https://youtu.be/sdrTJYjL8C0}}
 
{{Download|url=https://gm4.co/modules/block-compressors}}


== History ==
== History ==
Line 42: Line 84:
|08 Dec 2018
|08 Dec 2018
|Updated for 1.13 data packs
|Updated for 1.13 data packs
|-
| rowspan="2" |1.14
|10 Jul 2019
|Fixed an issue of nbt being lost when compressing
|-
|17 Jul 2019
|Patched a duplication exploit resulting from decompressing
items that were compressed before the 1.14 module update
|-
|1.15
|26 Dec 2019
|Updated for 1.15 base module
|}
|}
[[Category:All Modules]]
[[Category:All Modules]]
[[Category:Reliant Modules]]
[[Category:Reliant Modules]]

Revision as of 02:38, 1 May 2020

Block Compressors

Module TypeReliant
Created bySparks
Last Updated bySunderB and Misode
Required ModulesCustom Crafters
Compatible MC Versions1.15

This module allows you to compress stacks of items into a single item for better storage.

Features

General

The Block Compressor is an upgrade to a Custom Crafter that transforms it into a machine that compresses and decompresses items on top of it. This module requires the Custom Crafters module to be installed to work correctly.

Items can be compressed by a factor of 64 or 16, meaning that a single "64 compressed stick" is made from 64 regular sticks. Compressed items enable containers like chests and shulker boxes to hold vastly greater quantities of items.

Compressed items can easily be decompressed back into their original state to be used in crafting and building. Be careful though, if a compressed item is placed as a block it will lose its compressed state. For example, if a *64 compressed diamond block is placed on the ground, 63 diamond blocks will have just been lost.

A Block Compressor

Creation

Insert the recipe below into a Custom Crafter to upgrade it into a Block Compressor. When broken, the Block Compressor will drop both the items used to create a Custom Crafter and the items used to upgrade it into a Block Compressor.

Custom Crafter

Compressing and Decompressing

The GUI of a Block Compressor is used as a settings interface for the type of compression it will do. A Block Compressor has 3 modes. It can compress *16, compress *64, or decompress.

Compressor Mode Items inside Compressor
Compress *64 64 of any item into any slot
Compress *16 16 of any item into any slot
Decompress 1 of any item into any slot

Once compression mode is set, throw items on-top of the Compressor to compress/decompress them.

Compression Process

Technical Details

A chest full of *64 compressed items can hold a total of 110,592 items, 6400% more than a chest of uncompressed items (1728 items).

A chest full of shulker boxes, each full of *64 compressed items, can hold 2,985,984 items.

Advancements

Advancement Description Requirement
Clever Crushing Make yourself a Block Compressor Create a Block Compressor

Learn More and Download

Watch on YouTube

Download

History

Version Date Change
1.9-1.10 03 Feb 2016 Released Block Compressors
1.11 10 Jun 2017 Updated for 1.11 command format
1.12 10 Jun 2017 Updated for 1.12 command format
1.13 08 Dec 2018 Updated for 1.13 data packs
1.14 10 Jul 2019 Fixed an issue of nbt being lost when compressing
17 Jul 2019 Patched a duplication exploit resulting from decompressing

items that were compressed before the 1.14 module update

1.15 26 Dec 2019 Updated for 1.15 base module