v5.0.1 Beta #2

*Updated to MC v1.4.6.
*Updated all APIs.
*Repackaged for new Forge.
*Added Metallurgic Infuser for making Steel and Bronze.
*Added Refined Steel Dust.
*Added Refined Steel Ingots.
*Made Refined Iron -> Steel Block.
*Maps instead of Vectors for recipes.
*New recipe managing for Metallurgic Infuser.
*Cleaned up imports.
*Added new Javadocs.
*Made Electrolytic Separator texture changed based on what gas it is
outputting.
*Other various bugfixes.
This commit is contained in:
Aidan Brady committed 2012-12-20 16:53:39 -05:00
1 parent 75e762fd35
commit 45b4510dc7
162 files changed
+1723 -826

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
package mekanism.api;
import net.minecraft.item.ItemStack;
/**
* Implement this in your Item class if it can be used as a machine upgrade.
* @author AidanBrady
*
*/
public interface IMachineUpgrade
{
/**
* The energy boost this upgrade contains.
* @param itemstack - stack to check
* @return energy boost
*/
public int getEnergyBoost(ItemStack itemstack);
/**
* The operating tick reduction this upgrade provides.
* @param itemstack - stack to check
* @return tick reduction
*/
public int getTickReduction(ItemStack itemstack);
}