TheTorchMod/com/bernard/torch/init/TorchBlocks.java

23 lines
883 B
Java

/* */ package com.bernard.torch.init;
/* */
/* */ import com.bernard.torch.blocks.TorchRechargerBlock;
/* */ import com.bernard.torch.blocks.itemblocs.TorchRechargerItemBlock;
/* */ import com.bernard.torch.blocks.tileentities.TorchRechargerTileEntity;
/* */ import cpw.mods.fml.common.registry.GameRegistry;
/* */ import net.minecraft.block.Block;
/* */
/* */
/* */ public class TorchBlocks
/* */ {
/* */ public static Block torchRecharger;
/* */
/* */ public static void init()
/* */ {
/* 16 */ torchRecharger = new TorchRechargerBlock().setUnlocalizedName("torch_recharger");
/* 17 */ GameRegistry.registerBlock(torchRecharger, TorchRechargerItemBlock.class, "torch_recharger");
/* 18 */ GameRegistry.registerTileEntity(TorchRechargerTileEntity.class, "torch_mod:torch_recharger_te");
/* */ }
/* */ }