类的使用
org.bukkit.plugin.RegisteredServiceProvider
-
org.bukkit.event.server中RegisteredServiceProvider的使用
限定符构造器说明ServiceEvent(@NotNull RegisteredServiceProvider<?> provider) ServiceRegisterEvent(@NotNull RegisteredServiceProvider<?> registeredProvider) ServiceUnregisterEvent(@NotNull RegisteredServiceProvider<?> serviceProvider) -
org.bukkit.plugin中RegisteredServiceProvider的使用
修饰符和类型方法说明ServicesManager.getRegistration(@NotNull Class<T> service) Queries for a provider registration.SimpleServicesManager.getRegistration(@NotNull Class<T> service) Queries for a provider registration.返回变量类型为RegisteredServiceProvider的类型的org.bukkit.plugin中的方法修饰符和类型方法说明ServicesManager.getRegistrations(@NotNull Class<T> service) Get registrations of providers for a service.ServicesManager.getRegistrations(@NotNull Plugin plugin) Get registrations of providers for a plugin.<T> @NotNull List<RegisteredServiceProvider<T>>SimpleServicesManager.getRegistrations(@NotNull Class<T> service) Get registrations of providers for a service.SimpleServicesManager.getRegistrations(@NotNull Plugin plugin) Get registrations of providers for a plugin.