ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/mod/network/gui/INumberReactor.java
2016-01-05 04:47:37 +01:00

26 lines
874 B
Java

/*
* This file ("INumberReactor.java") is part of the Actually Additions Mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
* http://ellpeck.de/actaddlicense/
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
* © 2016 Ellpeck
*/
package de.ellpeck.actuallyadditions.mod.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
*/
void onNumberReceived(int text, int textID, EntityPlayer player);
}