User Tools

Site Tools


wiki:immibismicroblocks
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


wiki:immibismicroblocks [2015/06/25 15:45] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Immibis' Microblocks ======
  
 +This is a mod that adds very compatible microblocks. See the config file after first run.
 +
 +{{:wiki:2014-03-20_18.53.51.png?300|}}
 +
 +{{:wiki:2014-03-19_20.25.01.png?300|}}
 +
 +===== Dependencies =====
 +
 +  * [[wiki:immibiscore|Immibis' Core]]
 +
 +===== Compatible Mods =====
 +
 +**All of them!** - No, seriously, literally every mod out there is compatible with Immibis' Microblocks if you add their block and tile entity class to the config file. You can also automatically detect cuttable blocks on the client side by setting a config option. This section will therefore only list mods with official support, complete with blocking sides appropriately and whatnot.
 +
 +  * [[http://www.mod-buildcraft.com|BuildCraft]] - via Transformer on our side
 +  * [[http://oc.cil.li|OpenComputers]]
 +  * [[http://ae2.ae-mod.info|Applied Energistics 2]]
 +
 +===== Downloads =====
 +
 +==== Minecraft 1.7.2 ====
 +
 +  * **[[http://files.shinonome.ch/mods172/ImmibisMicroblocks/ImmibisMicroblocks-1.7.2-58.0.0.jar|Immibis' Microblocks 58.0.0]]** (latest)
 +  * [[http://files.shinonome.ch/mods172/ImmibisMicroblocks|Older versions]]
 +
 +==== Other ====
 +
 +  * [[http://github.com/asiekierka/ImmibisMicroblocks|Source code]]
 +
 +===== Version History =====
 +
 +==== 58.0.0 (20 March 2014) ====
 +
 +  * **Ported to Minecraft 1.7.2.**
 +
 +===== How to add support in 4 simple steps! =====
 +
 +So you're a mod developer and want to add support for Immibis' Microblocks while not depending on Immibis' Core? Well, contrary to popular belief, that's possible without writing a ClassTransformer!
 +
 +  * Add markers to your Block and TileEntity classes that signify that those classes should be transformed. The fields can be of any access level (private, protected, public) and any type. Example:
 +
 +    public int ImmibisMicroblocks_TransformableTileEntityMarker;
 +    public int ImmibisMicroblocks_TransformableBlockMarker;
 +
 +  * Add a dummy function that will be overwritten by Immibis' code if the mod is loaded to your TileEntity. Again, any access level is supported, but it must **not** be static. Example:
 +
 +    boolean ImmibisMicroblocks_isSideOpen(int side) { return true; }
 +
 +  * Add a function that is called every time a microblock is placed or removed. Fill it with your own code for updating side connections. Example:
 +
 +    void ImmibisMicroblocks_onMicroblocksChanged() { /* stuff goes here */ }
 +
 +  * Profit! Your code is now fully compatible with Immibis' Microblocks.
 +
 +There is no way to add a CuttableBlockMarker yet, but that should be added in 58.1.0.
wiki/immibismicroblocks.txt · Last modified: 2015/06/25 15:45 by 127.0.0.1