Interface EventHandler<T extends Event>

All Known Implementing Classes:
Entity, EntityCreature, EntityProjectile, ExperienceOrb, Instance, InstanceContainer, ItemEntity, LivingEntity, Player, PlayerProjectile, SharedInstance

@Experimental @NonExtendable public interface EventHandler<T extends Event>
Represents an element which can have Event listeners assigned to it.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull EventNode<T>
     
  • Method Details

    • eventNode

      @NotNull @NotNull EventNode<T> eventNode()