Package me.totalfreedom.shop
Class Reaction
java.lang.Object
me.totalfreedom.shop.Reaction
- All Implemented Interfaces:
Reactable
Represents a chat reaction that can be performed by a player.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReaction(long seconds, long reward, ReactionType reactionType) protectedReaction(long reward, ReactionType type) protectedReaction(Duration duration, long reward, ReactionType reactionType) protectedReaction(ReactionType type) -
Method Summary
Modifier and TypeMethodDescriptionnet.kyori.adventure.text.ComponentvoidsetReactionMessage(net.kyori.adventure.text.Component message)
-
Constructor Details
-
Reaction
-
Reaction
-
Reaction
-
Reaction
-
-
Method Details
-
getReactionMessage
public net.kyori.adventure.text.Component getReactionMessage()- Specified by:
getReactionMessagein interfaceReactable
-
setReactionMessage
public void setReactionMessage(net.kyori.adventure.text.Component message) -
getReactionDuration
- Specified by:
getReactionDurationin interfaceReactable
-
getReactionType
- Specified by:
getReactionTypein interfaceReactable
-