mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-05-29 04:03:37 +02:00
22 lines
548 B
Java
22 lines
548 B
Java
package ellpeck.thingycraft.blocks;
|
|
|
|
import cpw.mods.fml.common.registry.GameRegistry;
|
|
import net.minecraft.block.Block;
|
|
|
|
public class InitBlocks{
|
|
|
|
public static Block oreGem;
|
|
public static Block blockCrucible;
|
|
|
|
public static void init(){
|
|
|
|
oreGem = new OreGem();
|
|
blockCrucible = new BlockCrucible();
|
|
|
|
GameRegistry.registerBlock(oreGem, ItemBlockOreGem.class, oreGem.getUnlocalizedName().substring(5));
|
|
GameRegistry.registerBlock(blockCrucible, blockCrucible.getUnlocalizedName().substring(5));
|
|
|
|
}
|
|
|
|
}
|