resonant-induction/APIs/icbm/api/IBlockFrequency.java

25 lines
503 B
Java
Raw Normal View History

package icbm.api;
/**
* Applied to all blocks that has a frequency.
*
* @author Calclavia
*/
2013-07-23 00:24:55 +02:00
public interface IBlockFrequency
{
/**
2013-07-23 00:24:55 +02:00
* @param data - Pass an ItemStack if dealing with items with frequencies.
* @return The frequency of this object.
*/
public int getFrequency();
/**
* Sets the frequency
*
2013-07-23 00:24:55 +02:00
* @param frequency - The frequency of this object.
* @param data - Pass an ItemStack if dealing with items with frequencies.
*/
public void setFrequency(int frequency);
}