mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-14 01:04:11 +00:00
- 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
19 lines
528 B
Java
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);
|
|
}
|