Class AnnotationManager

java.lang.Object
fr.ghostrider584.axiom.annotation.AnnotationManager

public class AnnotationManager extends Object
  • Method Details

    • create

      public static AnnotationManager create(net.minestom.server.instance.Instance instance, AnnotationStorage storage, AnnotationConfig config)
    • create

      public static AnnotationManager create(UUID worldId, AnnotationStorage storage, AnnotationConfig config)
      A stable authoring identity may differ from the live instance's UUID.
    • sendAllAnnotations

      public void sendAllAnnotations(net.minestom.server.entity.Player player)
    • handleUpdates

      public void handleUpdates(List<AnnotationUpdateAction> actions, net.minestom.server.entity.Player requester, net.minestom.server.instance.Instance instance)
    • save

      public void save()
    • cleanup

      public void cleanup()
    • getAnnotationCount

      public int getAnnotationCount()
    • getWorldId

      public UUID getWorldId()