Module gomint.api

Class CancellableEntityEvent

    • Constructor Detail

      • CancellableEntityEvent

        public CancellableEntityEvent​(Entity entity)
        Create a new entity based cancellable event
        Parameters:
        entity - for which this event is
    • Method Detail

      • getEntity

        public Entity getEntity()
        Get the player which is affected by this event
        Returns:
        the player which is affected by this event