Class EventImpl<E>
java.lang.Object
journeymap.api.v2.common.event.impl.EventImpl<E>
- All Implemented Interfaces:
Event<E>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidWhen using this method, you can unsubscribe to this event.voidPermanently Registered listeners.voidunsubscribe(Object subscriber, String modId)
-
Constructor Details
-
EventImpl
-
-
Method Details
-
subscribe
Description copied from interface:EventPermanently Registered listeners. -
subscribe
Description copied from interface:EventWhen using this method, you can unsubscribe to this event. -
unsubscribe
- Specified by:
unsubscribein interfaceEvent<E>- Parameters:
subscriber- - the subscribing object, used as the key for unsubscribing.modId- - the mod id.- Throws:
ConcurrentModificationException
-
getEventClass
-
getListeners
-