Class EntityLocationValue
java.lang.Object
ua.mcchickenstudio.opencreative.coding.values.EventValue
ua.mcchickenstudio.opencreative.coding.values.LocationEventValue
ua.mcchickenstudio.opencreative.coding.values.entity.EntityLocationValue
- 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 org.bukkit.LocationgetLocation(@NotNull ActionsHandler handler, @NotNull Action action, @Nullable org.bukkit.entity.Entity entity) Returns a location that can be got from player, event, action, or null.Methods inherited from class ua.mcchickenstudio.opencreative.coding.values.LocationEventValue
getValueMethods inherited from class ua.mcchickenstudio.opencreative.coding.values.EventValue
equals, getCategory, getDisplayIcon, getID, getLocaleName, getName, hashCode
-
Constructor Details
-
EntityLocationValue
public EntityLocationValue()
-
-
Method Details
-
getLocation
@Nullable public @Nullable org.bukkit.Location getLocation(@NotNull @NotNull ActionsHandler handler, @NotNull @NotNull Action action, @Nullable @Nullable org.bukkit.entity.Entity entity) Description copied from class:LocationEventValueReturns a location that can be got from player, event, action, or null.- Specified by:
getLocationin classLocationEventValue- Returns:
- location, 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.
-