public interface IWirelessTermHandler extends INetworkEncodable
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(net.minecraft.item.ItemStack is) |
IConfigManager |
getConfigManager(net.minecraft.item.ItemStack is)
Return the config manager for the wireless terminal.
|
boolean |
hasPower(net.minecraft.entity.player.EntityPlayer player,
double amount,
net.minecraft.item.ItemStack is)
gets the power status of the item.
|
boolean |
usePower(net.minecraft.entity.player.EntityPlayer player,
double amount,
net.minecraft.item.ItemStack is)
use an amount of power, in AE units
|
getEncryptionKey, setEncryptionKey
boolean canHandle(net.minecraft.item.ItemStack is)
is
- wireless terminalboolean usePower(net.minecraft.entity.player.EntityPlayer player, double amount, net.minecraft.item.ItemStack is)
amount
- is in AE units ( 5 per MJ ), if you return false, the item should be dead and return false for
hasPoweris
- wireless terminalboolean hasPower(net.minecraft.entity.player.EntityPlayer player, double amount, net.minecraft.item.ItemStack is)
is
- wireless terminalIConfigManager getConfigManager(net.minecraft.item.ItemStack is)
is
- wireless terminal