Package | Description |
---|---|
org.bukkit.event.server |
Events relating to programmatic state
changes on the server. |
org.bukkit.plugin |
Classes specifically relating to loading software modules at runtime.
|
Modifier and Type | Method | Description |
---|---|---|
RegisteredServiceProvider<?> |
ServiceEvent.getProvider() |
Constructor | Description |
---|---|
ServiceEvent(RegisteredServiceProvider<?> provider) |
|
ServiceRegisterEvent(RegisteredServiceProvider<?> registeredProvider) |
|
ServiceUnregisterEvent(RegisteredServiceProvider<?> serviceProvider) |
Modifier and Type | Method | Description |
---|---|---|
<T> RegisteredServiceProvider<T> |
ServicesManager.getRegistration(Class<T> service) |
Queries for a provider registration.
|
<T> RegisteredServiceProvider<T> |
SimpleServicesManager.getRegistration(Class<T> service) |
Queries for a provider registration.
|
Modifier and Type | Method | Description |
---|---|---|
<T> Collection<RegisteredServiceProvider<T>> |
ServicesManager.getRegistrations(Class<T> service) |
Get registrations of providers for a service.
|
List<RegisteredServiceProvider<?>> |
ServicesManager.getRegistrations(Plugin plugin) |
Get registrations of providers for a plugin.
|
<T> List<RegisteredServiceProvider<T>> |
SimpleServicesManager.getRegistrations(Class<T> service) |
Get registrations of providers for a service.
|
List<RegisteredServiceProvider<?>> |
SimpleServicesManager.getRegistrations(Plugin plugin) |
Get registrations of providers for a plugin.
|
Modifier and Type | Method | Description |
---|---|---|
int |
RegisteredServiceProvider.compareTo(RegisteredServiceProvider<?> other) |
Copyright © 2020. All rights reserved.