Files
Mekanism-Community-Edition/src/main/java/mekanism/api/IAlloyInteraction.java
T
aidancbrady 0a135a6936 Loads of changes to Electric Pump, Fluidic Plenisher and Transmitters
- Electric Pumps are now more efficient, upgradable, and have new config options, one of which prevents sucking of water sources (true by default)
- Fluidic Plenishers are now upgradable
- Transmitters can be upgraded by being right-clicked by alloys normally involved in crafting-based upgrading
2016-01-28 20:38:32 -05:00

19 lines
528 B
Java

package mekanism.api;
import net.minecraft.entity.player.EntityPlayer;
/**
* Implement this class in your TileEntity if it can interact with Mekanism alloys.
* @author aidancbrady
*
*/
public interface IAlloyInteraction
{
/**
* Called when a player right-clicks this block with an alloy.
* @param player - the player right-clicking the block
* @param tierOrdinal - the ordinal tier of the alloy (1 = advanced, 2 = elite, 3 = ultimate)
*/
public void onAlloyInteraction(EntityPlayer player, int tierOrdinal);
}