2020-09-09 16:49:01 +02:00
|
|
|
package de.ellpeck.actuallyadditions.common.network.gui;
|
2015-06-28 03:12:32 +02:00
|
|
|
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public interface INumberReactor {
|
2015-06-28 03:12:32 +02:00
|
|
|
|
2015-07-22 18:24:43 +02:00
|
|
|
/**
|
|
|
|
* Called when a Number gets received after typing it in in the GUI
|
2015-10-02 16:48:01 +02:00
|
|
|
*
|
2017-02-04 16:48:22 +01:00
|
|
|
* @param number The number that was sent
|
|
|
|
* @param id The ID (meaning the place in the GUI) of the number typed in
|
2015-07-22 18:24:43 +02:00
|
|
|
* @param player The Player doing it
|
|
|
|
*/
|
2016-12-29 21:29:00 +01:00
|
|
|
void onNumberReceived(double number, int id, EntityPlayer player);
|
2015-06-28 03:12:32 +02:00
|
|
|
}
|