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

16 lines
480 B
Java
Raw Normal View History

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
/**
* 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
* @param player The Player doing it
*/
void onNumberReceived(double number, int id, EntityPlayer player);
2015-06-28 03:12:32 +02:00
}