Interface Reactable

All Known Subinterfaces:
InGameSocialUser, SocialUser
All Known Implementing Classes:
AbstractSocialUser, BukkitSocialUser, ConsoleSocialUser

public interface Reactable
Represents an object capable of handling and playing a Reaction.

A Reactable can display reactions to other users.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Plays or triggers the specified Reaction.
  • Method Details

    • playReaction

      void playReaction(@NotNull @NotNull Reaction reaction)
      Plays or triggers the specified Reaction.

      The exact behavior depends on the implementation and may include visual, auditory, or other interactive effects.

      Parameters:
      reaction - the reaction to play