Module gomint.api

Class PlayerInteractWithEntityEvent

    • Constructor Detail

      • PlayerInteractWithEntityEvent

        public PlayerInteractWithEntityEvent​(EntityPlayer player,
                                             Entity entity)
        Create a new interaction event
        Parameters:
        player - which interacted with the entity
        entity - the entity with which the player interacted
    • Method Detail

      • getEntity

        public Entity getEntity()
        Get the Entity with which the player interacted
        Returns:
        entity which was interacted