Class ItemsAdder

java.lang.Object
com.ranull.graves.manager.EntityDataManager
com.ranull.graves.integration.ItemsAdder

@Deprecated(since="4.9.9.1", forRemoval=true) public final class ItemsAdder extends EntityDataManager
Deprecated, for removal: This API element is subject to removal in a future version.
Use GravesXModule: ItemsAdder instead Integration with the ItemsAdder plugin for handling custom furniture and blocks.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemsAdder(Graves plugin, org.bukkit.plugin.Plugin itemsAdderPlugin)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Constructs an ItemsAdder instance and saves data related to ItemsAdder.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createBlock(org.bukkit.Location location, Grave grave)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Creates and places a custom block at a specified location.
    void
    createFurniture(org.bukkit.Location location, Grave grave)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Creates and places custom furniture at a specified location.
    boolean
    hasBlock(Grave grave)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead True if an ItemsAdder custom block exists at the grave location.
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead True if an ItemsAdder furniture entity for this grave is currently spawned.
    boolean
    isCustomBlock(org.bukkit.Location location)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Checks if a custom block exists at a specified location.
    void
    removeBlock(org.bukkit.Location location)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Removes a custom block at a specified location.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Removes custom furniture associated with a specific entity data.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Removes all custom furniture associated with a specific grave.
    void
    removeFurniture(Map<EntityData,org.bukkit.entity.Entity> entityDataMap)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Removes custom furniture based on a map of entity data and entities.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Use GravesXModule: ItemsAdder instead Copies resource files needed for ItemsAdder integration.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ItemsAdder

      @Deprecated(since="4.9.9.1", forRemoval=true) public ItemsAdder(Graves plugin, org.bukkit.plugin.Plugin itemsAdderPlugin)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Constructs an ItemsAdder instance and saves data related to ItemsAdder.
      Parameters:
      plugin - The Graves plugin instance.
      itemsAdderPlugin - The ItemsAdder plugin instance.
  • Method Details

    • saveData

      @Deprecated(since="4.9.9.1", forRemoval=true) public void saveData()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Copies resource files needed for ItemsAdder integration.
    • createFurniture

      @Deprecated(since="4.9.9.1", forRemoval=true) public void createFurniture(org.bukkit.Location location, Grave grave)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Creates and places custom furniture at a specified location.
      Parameters:
      location - The location to place the furniture.
      grave - The grave object associated with the furniture.
    • removeFurniture

      @Deprecated(since="4.9.9.1", forRemoval=true) public void removeFurniture(Grave grave)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Removes all custom furniture associated with a specific grave.
      Parameters:
      grave - The grave object whose furniture is to be removed.
    • removeFurniture

      @Deprecated(since="4.9.9.1", forRemoval=true) public void removeFurniture(EntityData entityData)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Removes custom furniture associated with a specific entity data.
      Parameters:
      entityData - The entity data for the furniture to be removed.
    • removeFurniture

      @Deprecated(since="4.9.9.1", forRemoval=true) public void removeFurniture(Map<EntityData,org.bukkit.entity.Entity> entityDataMap)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Removes custom furniture based on a map of entity data and entities.
      Parameters:
      entityDataMap - A map of entity data and corresponding entities to be removed.
    • createBlock

      @Deprecated(since="4.9.9.1", forRemoval=true) public void createBlock(org.bukkit.Location location, Grave grave)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Creates and places a custom block at a specified location.
      Parameters:
      location - The location to place the block.
      grave - The grave object associated with the block.
    • isCustomBlock

      @Deprecated(since="4.9.9.1", forRemoval=true) public boolean isCustomBlock(org.bukkit.Location location)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Checks if a custom block exists at a specified location.
      Parameters:
      location - The location to check.
      Returns:
      True if a custom block exists at the location, false otherwise.
    • removeBlock

      @Deprecated(since="4.9.9.1", forRemoval=true) public void removeBlock(org.bukkit.Location location)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead Removes a custom block at a specified location.
      Parameters:
      location - The location of the block to be removed.
    • hasFurniture

      @Deprecated(since="4.9.9.1", forRemoval=true) public boolean hasFurniture(Grave grave)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead True if an ItemsAdder furniture entity for this grave is currently spawned.
      Parameters:
      grave - The grave to check.
      Returns:
      True if at least one valid IA furniture entity mapped to this grave exists.
    • hasBlock

      @Deprecated(since="4.9.9.1", forRemoval=true) public boolean hasBlock(Grave grave)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use GravesXModule: ItemsAdder instead True if an ItemsAdder custom block exists at the grave location.
      Parameters:
      grave - The grave to check.
      Returns:
      True if a custom block is present where the grave is placed.