Preston
Preston is a "compressed block" mod - that is, it provides means of compressing sets of 9 identical blocks into 1 "compressed block" recursively, as well as decompressing them back.
Where it differs from previous approaches, however, is in a few key areas:
- Preston allows you to compress any full-cuboid block in the game, not just a selection of them.
- Preston lets you set the amount of compression levels available. By default, there are sixteen (single, double, triple, ..., sexdecuple), but you can set them all the way from just one (single) to one thousand (..., undemilluple, milluple)!
- Preston allows you to balance block compression by providing an RF/FE-powered machine, the Compressor, to faciliate this. The amount of RF/FE necessary scales with the compression level. (Optionally, you can configure it to allow crafting-based compression.)
Preston also includes mod compatibility with:
- Just Enough Items (0.2.0+)
- HWYLA (0.3.0+) - for properly supporting the Compressor's energy storage
- BuildCraft (0.3.0+) - Minecraft Joules support
- CraftTweaker (0.3.1+) - mods.preston.Compressor.addRecipe(<output>, energy_cost, <input>), mods.preston.CompressedBlocks.createStack(<block>, <amount>), mods.preston.CompressedBlocks.getMaximumCompressionLevel()
- BuildCraft (0.3.3+) - "Has Work" gate support
In addition, Preston includes an API for developers to be able to query, compress and decompress Compressed Blocks in their own machines, as well as define custom recipes for the Compressor.
I encourage you to take a look at the configuration file and have some fun with the options!
Planned features:
- ProbeDataProvider support (0.4.0+)
- EMC support (unknown - Project E does not seem to differentiate by NBT)
An example format for the blacklist/whitelist would be very useful. I can't tell how you're meant to add things.
This mod looks very useful, but I haven't been able to power it via Immersive Engineering wires. Any ideas?
Awesome mod, thanks asiekierka!
I've found an issues with item meta references.
I'm using strictly the item white list as I'm also using the SuperBlocks Mod from The_Wabbit and only want to compress items his mod doesn't already compress. For example I want compress orange wool but not white wool so I put the meta value :1, below the nether wart and carrot blocks work, but not the wool:1
S:itemWhitelist <
minecraft:wool:1
minecraft:nether_wart_block
superblocks:packed_carrots_block
>
Here's my other config settings:
B:enableCompressionByCompressor=false
B:enableCompressionByRecipe=true
B:enableDecompressionByRecipe=true
B:jeiCompressorSupport=false
B:jeiCraftingSupport=false
B:enableCompressor=false
I disabled the JEI support because it shows compression recipes for all items even ones not in the white list.
So, how would I go about using specific forms and levels of the compressed blocks in crafting recipes? Like say if I wanted to smelt 16x compressed cobble into bedrock?
finally someone that listens! thank you
do the recipes work with the compacting drawer from Drawers?
In reply to GeekJokes_GJ:
Wonderful!
Now all that's left is Chisel support for all of these ;)
This mod seriously needs to be put in all FTB modpacks. Amazing utility, especially when combined with other mods like Storage Drawers and AE2.
Why can we compress liquids? I know they count as items, but upon looking at the compression recipe of liquids, my CLIENT crashes.
Hang on while I go make a sexdecuple block of joy