Interface SecurityVillagersEvent
- All Known Subinterfaces:
ISecurityVillagersDamageEvent
,ISecurityVillagersInteractProtectionEvent
,ISecurityVillagersProtectionChangeEvent
,ISecurityVillagersSelectEvent
- All Known Implementing Classes:
BukkitSecurityVillagersEvent
,SecurityVillagersDamageEvent
,SecurityVillagersInteractProtectionEvent
,SecurityVillagersProtectionChangeEvent
,SecurityVillagersSelectEvent
public interface SecurityVillagersEvent
-
Method Summary
Modifier and TypeMethodDescription@NotNull SecurityVillagersAPI
getApi()
Get the SecurityVillagers API instancevoid
setApi(SecurityVillagersAPI instance)
Set the SecurityVillagers API instance.
-
Method Details
-
getApi
Get the SecurityVillagers API instance- Returns:
- the
SecurityVillagersAPI
-
setApi
Set the SecurityVillagers API instance. Used by SecurityVillagers instance to let you hook directly to the main API.- Parameters:
instance
- theSecurityVillagersAPI
instance to set
-