Interface Event<E>
- All Known Implementing Classes:
EventImpl
public interface Event<E>
-
Method Summary
Modifier and TypeMethodDescriptionvoidWhen using this method, you can unsubscribe to this event.voidPermanently Registered listeners.voidunsubscribe(Object subscriber, String modId)
-
Method Details
-
subscribe
-
subscribe
-
unsubscribe
- Parameters:
subscriber- - the subscribing object, used as the key for unsubscribing.modId- - the mod id.- Throws:
ConcurrentModificationException
-