Block Compressors: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(1.15 details)
(→‎History: Updated crafting recipe)
 
(18 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{ModuleInfobox|name=Block Compressors|icon=block_compressors.png|type=Reliant|requires=[[Custom Crafters]]|creator=Sparks|updater=SunderB, Misode|versions=1.15}}
{{ModuleInfobox|name=Block Compressors|type=Reliant|complementary=[[Relocators]]|creator=Sparks|updater=SunderB, Misode, BluePsychoRanger|versions=1.9+}}
This module allows you to compress stacks of items into a single item for better storage.
This module allows you to compress stacks of items into a single item for better storage.


Line 5: Line 5:


=== General ===
=== General ===
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.
The Block Compressor is a machine that compresses and decompresses items on top of it. Compressed items enable containers like chests and shulker boxes to hold vastly greater quantities of items.  
 
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.  
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]]
[[File:Block Compressor.png|thumb|alt=|A Block Compressor]]


=== Creation ===
=== Crafting ===
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
The Block Compressor can be crafted in a [[Custom Crafters|Custom Crafter]] using iron, purpur, obsidian, and pistons.
{| class="wikitable"
|+
!Item
!Ingredients
!Recipe ([[Custom Crafters|Custom Crafter]])
|-
|Block Compressor
|Iron Ingot +
Purpur Block +
 
Obsidian +
 
Piston +
 
Cobblestone
|{{Crafting
| Input = {{CraftingGrid
| Input = {{CraftingGrid
| Iron Ingot | Obsidian | Iron Ingot
| Iron Ingot | Purpur Block | Iron Ingot
| Piston | Purpur Block | Piston
| Piston | Obsidian | Piston
| Iron Ingot | Obsidian | Iron Ingot
| Cobblestone | Cobblestone | Cobblestone
}}
| Output = {{CraftingCell
| gm4:Block Compressor
}}
}}
| Output =[[File:compressor_block_model.png|64px]]
|Name=Custom Crafter}}
|Name=Custom Crafter}}
|}
=== Compressing and Decompressing ===
=== 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.
The GUI of a Block Compressor is used as a settings interface for the type of compression it will do. A Block Compressor has 2 modes: compression and decompression. Compression mode is set if an item with a stack size greater than 1 (e.g. 16 or 64) is in the Compressor, while decompression mode is set if a single item (stack size of 1) is in the Compressor.
{| class="wikitable"
 
|+
Once Block Compressors mode is set, throw items on-top of the Compressor to compress/decompress them.
!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]]
[[File:Compression Process.png|none|thumb|600x600px|alt=|Compression Process]]
=== Compatibility ===
Compressors can be moved with [[Relocators]].


=== Technical Details ===
=== Technical Details ===
Line 44: Line 52:


A chest full of shulker boxes, each full of *64 compressed items, can hold 2,985,984 items.  
A chest full of shulker boxes, each full of *64 compressed items, can hold 2,985,984 items.  
A block compressor will do 1 compression per 16 game ticks, 8 redstone ticks, or 0.8 seconds.


=== Advancements ===
=== Advancements ===
Line 49: Line 59:
|+
|+
!Advancement
!Advancement
!Description
!Requirement
!Requirement
|-
|-
|Clever Crushing
|{{Advancement|Piston|Clever Crushing|Make yourself a Block Compressor}}
|Make yourself a Block Compressor
|Have a Block Compressor in your inventory
|Create a Block Compressor
|-
|{{Advancement|Apple|A Compressed Diet|Eat too much of everything. This can't be good for you...|enchanted=true|bg=fancy}}
| Eat a max compressed item of each food item. Uses the same list as A Balanced Diet, but excludes the soups/stews and enchanted golden apples. Most items must be 64x compressed, however honey bottles must be 16x compressed, as their max stack size is 16.
|}
|}


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


== History ==
== History ==
Line 69: Line 78:
!Change
!Change
|-
|-
|1.9-1.10
|1.9
|03 Feb 2016
|03 Feb 2016
|Released Block Compressors
|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
|-
|-
| rowspan="2" |1.14
| rowspan="2" |1.14
Line 93: Line 90:
items that were compressed before the 1.14 module update
items that were compressed before the 1.14 module update
|-
|-
|1.15
|1.16
|26 Dec 2019
|29 Nov 2020
|Updated for 1.15 base module
|Block Compressors drop a custom block when moved with [[Relocators]]
|-
|1.17
|23 Aug 2021
|Compression can now occur with any stack size
|-
| rowspan="6" |1.18
| rowspan="6" |23 Apr 2022
|[[Custom Crafters]] is now a library and no longer needs to be downloaded separately
|-
|Compressors are now crafted as items instead of upgraded from custom crafters
|-
| Updated crafting recipe
|-
|"Clever Crushing" advancement trigger changed to picking up a Compressor
|-
|Compressors will drop as an item when broken instead of the crafting components
|-
|A fake pressure plate has been added to Compressors to indicate that items should be thrown on top of them
|}
|}
== Previous Versions ==
=== MC 1.9-1.13 Versions ===
Prior to 1.14, items that got compressed would lose custom NBT, such as enchantments, Skull texture, and lore.
=== MC 1.9-1.17 Versions ===
Prior to 1.18, the recipe used to be
{{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}}
Crafting a Block Compressor converted the Custom Crafter into a Block Compressor.
Additionally, breaking the Block Compressor dropped the items used to craft them instead of a custom item.
{{Modules List/Custom Crafters}}
{{Modules List/Relocatable Machines}}
[[Category:All Modules]]
[[Category:All Modules]]
[[Category:Reliant Modules]]

Latest revision as of 08:32, 30 April 2022

Block Compressors

Module TypeReliant
Created bySparks
Last Updated bySunderB, Misode and BluePsychoRanger
Complementary ModulesRelocators
Compatible MC Versions1.9+

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

Features

General

The Block Compressor is a machine that compresses and decompresses items on top of it. 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

Crafting

The Block Compressor can be crafted in a Custom Crafter using iron, purpur, obsidian, and pistons.

Item Ingredients Recipe (Custom Crafter)
Block Compressor Iron Ingot +

Purpur Block +

Obsidian +

Piston +

Cobblestone

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 2 modes: compression and decompression. Compression mode is set if an item with a stack size greater than 1 (e.g. 16 or 64) is in the Compressor, while decompression mode is set if a single item (stack size of 1) is in the Compressor.

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

Compression Process

Compatibility

Compressors can be moved with Relocators.

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.

A block compressor will do 1 compression per 16 game ticks, 8 redstone ticks, or 0.8 seconds.

Advancements

Advancement Requirement
Clever Crushing
Make yourself a Block Compressor
Have a Block Compressor in your inventory
A Compressed Diet
Eat too much of everything. This can't be good for you...
Eat a max compressed item of each food item. Uses the same list as A Balanced Diet, but excludes the soups/stews and enchanted golden apples. Most items must be 64x compressed, however honey bottles must be 16x compressed, as their max stack size is 16.

Learn More and Download

Watch on YouTube Download

History

Version Date Change
1.9 03 Feb 2016 Released Block Compressors
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.16 29 Nov 2020 Block Compressors drop a custom block when moved with Relocators
1.17 23 Aug 2021 Compression can now occur with any stack size
1.18 23 Apr 2022 Custom Crafters is now a library and no longer needs to be downloaded separately
Compressors are now crafted as items instead of upgraded from custom crafters
Updated crafting recipe
"Clever Crushing" advancement trigger changed to picking up a Compressor
Compressors will drop as an item when broken instead of the crafting components
A fake pressure plate has been added to Compressors to indicate that items should be thrown on top of them

Previous Versions

MC 1.9-1.13 Versions

Prior to 1.14, items that got compressed would lose custom NBT, such as enchantments, Skull texture, and lore.

MC 1.9-1.17 Versions

Prior to 1.18, the recipe used to be

Custom Crafter

Crafting a Block Compressor converted the Custom Crafter into a Block Compressor. Additionally, breaking the Block Compressor dropped the items used to craft them instead of a custom item.