Interface ChatEditableValue
- All Known Implementing Classes:
TextCodingValue
public interface ChatEditableValue
ChatEditableValue
This interface is used for coding values, that do certain actions when player clicks left or right clicks while holding them in main hand.-
Method Summary
Modifier and TypeMethodDescriptionvoidonPlayerChat(@NotNull org.bukkit.entity.Player player, @NotNull org.bukkit.inventory.ItemStack item, @NotNull String message) Used for doing actions, when player sends chat message with item in hand.
-
Method Details
-
onPlayerChat
void onPlayerChat(@NotNull @NotNull org.bukkit.entity.Player player, @NotNull @NotNull org.bukkit.inventory.ItemStack item, @NotNull @NotNull String message) Used for doing actions, when player sends chat message with item in hand.- Parameters:
player- player, that sent message with coding value in hand.item- item of value.
-