Class FishingStateValue
java.lang.Object
ua.mcchickenstudio.opencreative.coding.values.EventValue
ua.mcchickenstudio.opencreative.coding.values.TextEventValue
ua.mcchickenstudio.opencreative.coding.values.events.FishingStateValue
- All Implemented Interfaces:
ExtensionContent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull StringReturns description of extension content.@NotNull StringReturns lower-cased simple id of extension.@Nullable StringgetText(@NotNull ActionsHandler handler, @NotNull Action action, @Nullable org.bukkit.entity.Entity entity) Returns a string that can be got from player, event, action, or null.Methods inherited from class ua.mcchickenstudio.opencreative.coding.values.TextEventValue
getValueMethods inherited from class ua.mcchickenstudio.opencreative.coding.values.EventValue
equals, getCategory, getDisplayIcon, getID, getLocaleName, getName, hashCode
-
Constructor Details
-
FishingStateValue
public FishingStateValue()
-
-
Method Details
-
getText
@Nullable public @Nullable String getText(@NotNull @NotNull ActionsHandler handler, @NotNull @NotNull Action action, @Nullable @Nullable org.bukkit.entity.Entity entity) Description copied from class:TextEventValueReturns a string that can be got from player, event, action, or null.- Specified by:
getTextin classTextEventValue- Returns:
- string, or null.
-
getExtensionId
Description copied from interface:ExtensionContentReturns lower-cased simple id of extension. Will be used to identify author of content.ID "default" is reserved for OpenCreative+ developers.
- Returns:
- id of extension.
-
getDescription
Description copied from interface:ExtensionContentReturns description of extension content. Describes purpose of new additional content.- Returns:
- description of content.
-