ActuallyAdditions/src/main/java/ellpeck/actuallyadditions/network/gui/INumberReactor.java

15 lines
521 B
Java
Raw Normal View History

2015-06-28 03:12:32 +02:00
package ellpeck.actuallyadditions.network.gui;
import net.minecraft.entity.player.EntityPlayer;
public interface INumberReactor{
/**
* Called when a Number gets received after typing it in in the GUI
* @param text The number that was sent (I don't remember why I called it text. Had a reason though.)
* @param textID The ID (meaning the place in the GUI) of the number typed in
* @param player The Player doing it
*/
2015-06-28 03:12:32 +02:00
void onNumberReceived(int text, int textID, EntityPlayer player);
}