Annotation Type Subscribe


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface Subscribe
    An annotation used to signify the given method is an event. This should only be applied to methods where the class containing them is designated for events specifically.
    • Element Detail

      • postOrder

        @NonNull PostOrder postOrder
        The PostOrder of the event
        Returns:
        the post order of the event
        Default:
        org.geysermc.event.PostOrder.NORMAL
      • ignoreCancelled

        boolean ignoreCancelled
        Default:
        false