Move the directory structure around to a more conventional one and start out on the 1.7 update.

3797 errors. We have a long way to go.
This commit is contained in:
Ben Spiers committed 2014-04-20 03:44:06 +01:00
1 parent 3a0de87a09
commit ab47724473
1245 files changed
+1764 -5953

No files matched your search

@@ -0,0 +1,44 @@
package mekanism.common;
/**
* Implement this if your block or item can store Mekanism-based upgrades.
* @author AidanBrady
*
*/
public interface IUpgradeManagement
{
/**
* Gets the energy multiplier from an item or block.
* @param data - ItemStack parameter if getting from an item
* @return energy multiplier
*/
public int getEnergyMultiplier(Object... data);
/**
* Sets the energy multiplier of an item or block.
* @param multiplier - new multiplier
* @param data - ItemStack parameter if getting from an item
*/
public void setEnergyMultiplier(int multiplier, Object... data);
/**
* Gets the speed multiplier from an item or block.
* @param data - ItemStack parameter if getting from an item
* @return speed multiplier
*/
public int getSpeedMultiplier(Object... data);
/**
* Sets the speed multiplier of an item or block.
* @param multiplier - new multiplier
* @param data - ItemStack parameter if getting from an item
*/
public void setSpeedMultiplier(int multiplier, Object... data);
/**
* Whether or not this item or block supports upgrades.
* @param data - ItemStack parameter if getting from an item
* @return if the item or block supports upgrades
*/
public boolean supportsUpgrades(Object... data);
}