Class BlockAboveValue

All Implemented Interfaces:
ExtensionContent

public final class BlockAboveValue extends LocationEventValue
  • Constructor Details

    • BlockAboveValue

      public BlockAboveValue()
  • 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: LocationEventValue
      Returns a location that can be got from player, event, action, or null.
      Specified by:
      getLocation in class LocationEventValue
      Returns:
      location, or null.
    • getExtensionId

      @NotNull public @NotNull String getExtensionId()
      Description copied from interface: ExtensionContent
      Returns 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

      @NotNull public @NotNull String getDescription()
      Description copied from interface: ExtensionContent
      Returns description of extension content. Describes purpose of new additional content.
      Returns:
      description of content.