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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FurnitureBreakListener
Deprecated.private final FurnitureInteractListener
Deprecated.private final Graves
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionFurnitureEngine
(Graves plugin) Deprecated.Plugin no longer exists externally Constructs a FurnitureEngine instance. -
Method Summary
Modifier and TypeMethodDescriptionprivate void
breakFurniture
(org.bukkit.Location location) Deprecated.Plugin no longer exists externallyvoid
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.private boolean
placeFurniture
(String name, org.bukkit.Location location, org.bukkit.Rotation rotation) Deprecated.Plugin no longer exists externallyvoid
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
-
Field Details
-
plugin
Deprecated. -
furnitureInteractListener
Deprecated. -
furnitureBreakListener
Deprecated.
-
-
Constructor Details
-
FurnitureEngine
Deprecated.Plugin no longer exists externally Constructs a FurnitureEngine instance.- Parameters:
plugin
- The main plugin instance.
-
-
Method Details
-
registerListeners
public void registerListeners()Deprecated.Plugin no longer exists externally Registers FurnitureEngine event listeners. -
unregisterListeners
public void 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
public org.bukkit.entity.ItemFrame getItemFrame(org.bukkit.Location location) 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.
-
placeFurniture
private boolean placeFurniture(String name, org.bukkit.Location location, org.bukkit.Rotation rotation) Deprecated.Plugin no longer exists externally -
breakFurniture
private void breakFurniture(org.bukkit.Location location) Deprecated.Plugin no longer exists externally
-