mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 04:32:26 +00:00
28 lines
616 B
Java
28 lines
616 B
Java
package appeng.api.events;
|
|
|
|
import net.minecraftforge.event.Event;
|
|
import appeng.api.me.tiles.ILocateable;
|
|
|
|
/**
|
|
* Used to Notify the Location Registry of objects, and their availability.
|
|
*/
|
|
public class LocateableEventAnnounce extends Event
|
|
{
|
|
|
|
public enum LocateableEvent
|
|
{
|
|
Register, // Adds the locateable to the registry
|
|
Unregister // Removes the Locatable from the registry
|
|
};
|
|
|
|
final public ILocateable target;
|
|
final public LocateableEvent change;
|
|
|
|
public LocateableEventAnnounce(ILocateable o, LocateableEvent ev)
|
|
{
|
|
target = o;
|
|
change = ev;
|
|
}
|
|
|
|
}
|