promotional bannermobile promotional banner

Kreezxil's Compressed Blocks

When there are too many blocks to store in a chest, compress them!

File Details

kreezxilscompressedblocks-3.0.0.jar

  • R
  • Nov 24, 2015
  • 367.16 KB
  • 208
  • 1.8

File Name

kreezxilscompressedblocks-3.0.0.jar

Supported Versions

  • 1.8

Functionally there is difference between this version and version 2.0.1.

 

Internally, there is a whole world of difference.

 

  • Previously there was a block coded for each tier in a compression chain
  • - now there is one default block in compression chain
  • - a ton of new code to manage block states
  • - and variance file indicating the various models
  • - we even an Enum class now

There is now a lot of repetitive code that begs to be reduced, being a Java and Minecraft Forge coding Noob I am not quite sure how to do that. There appears to be a lot of reading in my future and that is a slow go for me as I have quite a bit to learn. You can see the code and my nightmare via the commits at Github. If you know of a way to further reduce my code, let me know, so I can implement it now. Show me working examples if you do, so that I can learn faster, and yes copy and paste in some instances.