Put Facing on blockstate not Tile. Use one block per type for BlockBase

This commit is contained in:
mezz committed 2016-05-18 23:44:03 -07:00
1 parent fb7cd3ee09
commit ff1ff5ae2c
118 files changed
+636 -816

No files matched your search

@@ -0,0 +1,19 @@
package forestry.plugins.compat;
import forestry.core.blocks.BlockRegistry;
import forestry.energy.blocks.BlockEngine;
import forestry.energy.blocks.BlockTypeEngine;
import forestry.energy.items.ItemEngine;
public class BlockRegistryIC2 extends BlockRegistry {
public final BlockEngine electricalEngine;
public final BlockEngine generator;
public BlockRegistryIC2() {
electricalEngine = new BlockEngine(BlockTypeEngine.ELECTRICAL);
registerBlock(electricalEngine, new ItemEngine(electricalEngine), "electricalEngine");
generator = new BlockEngine(BlockTypeEngine.GENERATOR);
registerBlock(generator, new ItemEngine(generator), "generator");
}
}