Class EntityLocationPitchValue
java.lang.Object
ua.mcchickenstudio.opencreative.coding.values.EventValue
ua.mcchickenstudio.opencreative.coding.values.NumberEventValue
ua.mcchickenstudio.opencreative.coding.values.entity.EntityLocationPitchValue
- 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 NumbergetNumber(@NotNull ActionsHandler handler, @NotNull Action action, @Nullable org.bukkit.entity.Entity entity) Returns a number that can be got from player, event, action, or null.Methods inherited from class ua.mcchickenstudio.opencreative.coding.values.NumberEventValue
getValueMethods inherited from class ua.mcchickenstudio.opencreative.coding.values.EventValue
equals, getCategory, getDisplayIcon, getID, getLocaleName, getName, hashCode
-
Constructor Details
-
EntityLocationPitchValue
public EntityLocationPitchValue()
-
-
Method Details
-
getNumber
@Nullable public @Nullable Number getNumber(@NotNull @NotNull ActionsHandler handler, @NotNull @NotNull Action action, @Nullable @Nullable org.bukkit.entity.Entity entity) Description copied from class:NumberEventValueReturns a number that can be got from player, event, action, or null.- Specified by:
getNumberin classNumberEventValue- Returns:
- number, 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.
-