Added machine part block

This commit is contained in:
Calclavia 2014-01-04 22:48:03 +08:00
parent b1cb33932d
commit dd789c8aca
5 changed files with 23 additions and 4 deletions

View file

@ -20,6 +20,7 @@ import net.minecraftforge.oredict.ShapelessOreRecipe;
import org.modstats.ModstatInfo; import org.modstats.ModstatInfo;
import org.modstats.Modstats; import org.modstats.Modstats;
import resonantinduction.machine.BlockMachinePart;
import resonantinduction.machine.crusher.ItemDust; import resonantinduction.machine.crusher.ItemDust;
import resonantinduction.machine.furnace.BlockAdvancedFurnace; import resonantinduction.machine.furnace.BlockAdvancedFurnace;
import resonantinduction.machine.furnace.TileAdvancedFurnace; import resonantinduction.machine.furnace.TileAdvancedFurnace;
@ -149,10 +150,8 @@ public class ResonantInduction
public static Item itemDust; public static Item itemDust;
// Blocks // Blocks
public static Block blockTesla; public static Block blockTesla, blockEMContractor, blockBattery, blockAdvancedFurnace,
public static Block blockEMContractor; blockMachinePart;
public static Block blockBattery;
public static Block blockAdvancedFurnace;
/** /**
* Packets * Packets
@ -193,6 +192,7 @@ public class ResonantInduction
blockTesla = new BlockTesla(getNextBlockID()); blockTesla = new BlockTesla(getNextBlockID());
blockEMContractor = new BlockEMContractor(getNextBlockID()); blockEMContractor = new BlockEMContractor(getNextBlockID());
blockBattery = new BlockBattery(getNextBlockID()); blockBattery = new BlockBattery(getNextBlockID());
blockMachinePart = new BlockMachinePart(getNextBlockID());
if (REPLACE_FURNACE) if (REPLACE_FURNACE)
{ {

View file

@ -0,0 +1,18 @@
package resonantinduction.machine;
import resonantinduction.core.base.BlockBase;
import universalelectricity.api.UniversalElectricity;
/**
* A block used to build machines.
*
* @author Calclavia
*
*/
public class BlockMachinePart extends BlockBase
{
public BlockMachinePart(int id)
{
super("machinePart", id);
}
}

View file

@ -11,6 +11,7 @@ meta.resonantinduction.credits=Thanks to Archadia for the awesome assets!
tile.resonantinduction\:tesla.name=Tesla Coil tile.resonantinduction\:tesla.name=Tesla Coil
tile.resonantinduction\:contractor.name=Electromagnetic Levitator tile.resonantinduction\:contractor.name=Electromagnetic Levitator
tile.resonantinduction\:battery.name=Battery tile.resonantinduction\:battery.name=Battery
tile.resonantinduction\:machinePart.name=Machine Part
## Items ## Items
item.resonantinduction\:quantumEntangler.name=Quantum Entangler item.resonantinduction\:quantumEntangler.name=Quantum Entangler

Binary file not shown.

After

Width:  |  Height:  |  Size: 708 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 830 B