Class EntityEvent

    • Field Detail

      • entity

        protected Entity entity
    • Constructor Detail

      • EntityEvent

        public EntityEvent​(@NotNull
                           Entity what)
    • Method Detail

      • getEntity

        @NotNull
        public Entity getEntity()
        Returns the Entity involved in this event
        Returns:
        Entity who is involved in this event
      • getEntityType

        @NotNull
        public EntityType getEntityType()
        Gets the EntityType of the Entity involved in this event.
        Returns:
        EntityType of the Entity involved in this event