Class AnnotationRegistry
java.lang.Object
fr.ghostrider584.axiom.annotation.AnnotationRegistry
-
Constructor Summary
ConstructorsConstructorDescriptionAnnotationRegistry(AnnotationStorage storage, AnnotationConfig defaultConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(net.minestom.server.instance.Instance instance, AnnotationManager manager) Install a host-owned, preloaded manager before a world admits clients.get(net.minestom.server.instance.Instance instance) getOrCreate(net.minestom.server.instance.Instance instance) getOrCreate(net.minestom.server.instance.Instance instance, AnnotationConfig config) voidremove(net.minestom.server.instance.Instance instance) voidsaveAll()voidshutdown()
-
Constructor Details
-
AnnotationRegistry
-
-
Method Details
-
getOrCreate
-
getOrCreate
public AnnotationManager getOrCreate(net.minestom.server.instance.Instance instance, AnnotationConfig config) -
get
-
bind
Install a host-owned, preloaded manager before a world admits clients. Never overwrites one. -
remove
public void remove(net.minestom.server.instance.Instance instance) -
saveAll
public void saveAll() -
shutdown
public void shutdown() -
getAnnotationCounts
-