mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-17 10:55:06 +00:00
Move ForestryAPI into the Forestry project instead of as a submodule Include the new RF API Remove code for mods that have not yet ported to 1.8.9 (add it back later) Bump version to 5.0.0
31 lines
697 B
Java
31 lines
697 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.circuits;
|
|
|
|
import java.util.List;
|
|
|
|
public interface ICircuit {
|
|
String getUID();
|
|
|
|
boolean requiresDiscovery();
|
|
|
|
int getLimit();
|
|
|
|
String getName();
|
|
|
|
boolean isCircuitable(Object tile);
|
|
|
|
void onInsertion(int slot, Object tile);
|
|
|
|
void onLoad(int slot, Object tile);
|
|
|
|
void onRemoval(int slot, Object tile);
|
|
|
|
void onTick(int slot, Object tile);
|
|
|
|
void addTooltip(List<String> list);
|
|
}
|