Package com.ranull.graves.integration
Class FurnitureEngine
java.lang.Object
com.ranull.graves.manager.EntityDataManager
com.ranull.graves.integration.FurnitureEngine
Deprecated.
Plugin no longer exists externally
Manages FurnitureEngine integration for creating, removing, and interacting with furniture.
-
Constructor Summary
ConstructorsConstructorDescriptionFurnitureEngine
(Graves plugin) Deprecated.Plugin no longer exists externally Constructs a FurnitureEngine instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleanupItemFrame
(Grave grave) Deprecated.Plugin no longer exists externally Cleans up ItemFrames near the death location of a grave.void
createFurniture
(org.bukkit.Location location, Grave grave) Deprecated.Plugin no longer exists externally Creates and places furniture at the specified location.org.bukkit.entity.ItemFrame
getItemFrame
(org.bukkit.Location location) Deprecated.Plugin no longer exists externally Retrieves the ItemFrame at a specified location.boolean
hasFurniture
(Grave grave) Deprecated.Plugin no longer exists externally True if FurnitureEngine furniture exists at the grave's location.void
Deprecated.Plugin no longer exists externally Registers FurnitureEngine event listeners.void
removeFurniture
(EntityData entityData) Deprecated.Plugin no longer exists externally Removes specific furniture entity data.void
removeFurniture
(Grave grave) Deprecated.Plugin no longer exists externally Removes furniture associated with the specified grave.void
removeFurniture
(Map<EntityData, org.bukkit.entity.Entity> entityDataMap) Deprecated.Plugin no longer exists externally Removes multiple pieces of furniture based on a map of entity data to entities.void
Deprecated.Plugin no longer exists externally Unregisters FurnitureEngine event listeners.Methods inherited from class com.ranull.graves.manager.EntityDataManager
createEntityData, createEntityData, getEntityData, getEntityDataMap, getGrave, getGrave, getLoadedEntityDataList, removeEntityData, removeEntityData
-
Constructor Details
-
FurnitureEngine
Deprecated.Plugin no longer exists externally Constructs a FurnitureEngine instance.- Parameters:
plugin
- The main plugin instance.
-
-
Method Details
-
registerListeners
Deprecated.Plugin no longer exists externally Registers FurnitureEngine event listeners. -
unregisterListeners
Deprecated.Plugin no longer exists externally Unregisters FurnitureEngine event listeners. -
createFurniture
Deprecated.Plugin no longer exists externally Creates and places furniture at the specified location.- Parameters:
location
- The location where the furniture should be placed.grave
- The grave associated with the furniture.
-
removeFurniture
Deprecated.Plugin no longer exists externally Removes furniture associated with the specified grave.- Parameters:
grave
- The grave for which to remove furniture.
-
removeFurniture
Deprecated.Plugin no longer exists externally Removes specific furniture entity data.- Parameters:
entityData
- The entity data of the furniture to remove.
-
removeFurniture
Deprecated.Plugin no longer exists externally Removes multiple pieces of furniture based on a map of entity data to entities.- Parameters:
entityDataMap
- A map of entity data to entities to remove.
-
getItemFrame
Deprecated.Plugin no longer exists externally Retrieves the ItemFrame at a specified location.- Parameters:
location
- The location to search for the ItemFrame.- Returns:
- The found ItemFrame, or null if none found.
-
cleanupItemFrame
Deprecated.Plugin no longer exists externally Cleans up ItemFrames near the death location of a grave.- Parameters:
grave
- The grave to clean up.
-
hasFurniture
Deprecated.Plugin no longer exists externally True if FurnitureEngine furniture exists at the grave's location.- Parameters:
grave
- The grave to check.- Returns:
- True if furniture is present at or near the grave location.
-