Package com.ranull.graves.integration
Class Oraxen
java.lang.Object
com.ranull.graves.manager.EntityDataManager
com.ranull.graves.integration.Oraxen
Deprecated.
Recommend Nexo as a replacement.
Integration class for handling communication with the Oraxen plugin.
Manages creation, removal, and verification of Oraxen furniture and blocks.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EntityDamageListener
Deprecated.private final HangingBreakListener
Deprecated.private final org.bukkit.plugin.Plugin
Deprecated.private final PlayerInteractEntityListener
Deprecated.private final Graves
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
copyResource
(String resourcePath, File outFile) Deprecated.Recommend Nexo as a replacement.void
createBlock
(org.bukkit.Location location, Grave grave) Deprecated.Recommend Nexo as a replacement.void
createFurniture
(org.bukkit.Location location, Grave grave) Deprecated.Recommend Nexo as a replacement.io.th0rgal.oraxen.mechanics.provided.gameplay.furniture.FurnitureMechanic
getFurnitureMechanic
(String string) Deprecated.Recommend Nexo as a replacement.io.th0rgal.oraxen.mechanics.provided.gameplay.noteblock.NoteBlockMechanic
getNoteBlockMechanic
(String string) Deprecated.Recommend Nexo as a replacement.boolean
isCustomBlock
(org.bukkit.Location location) Deprecated.Recommend Nexo as a replacement.void
Deprecated.Recommend Nexo as a replacement.void
removeBlock
(org.bukkit.Location location) Deprecated.Recommend Nexo as a replacement.void
removeFurniture
(EntityData entityData) Deprecated.Recommend Nexo as a replacement.void
removeFurniture
(Grave grave) Deprecated.Recommend Nexo as a replacement.void
removeFurniture
(Map<EntityData, org.bukkit.entity.Entity> entityDataMap) Deprecated.Recommend Nexo as a replacement.void
saveData()
Deprecated.Recommend Nexo as a replacement.void
Deprecated.Methods inherited from class com.ranull.graves.manager.EntityDataManager
createEntityData, createEntityData, getEntityData, getEntityDataMap, getGrave, getGrave, getLoadedEntityDataList, removeEntityData, removeEntityData
-
Field Details
-
plugin
Deprecated. -
oraxenPlugin
private final org.bukkit.plugin.Plugin oraxenPluginDeprecated. -
playerInteractEntityListener
Deprecated. -
entityDamageListener
Deprecated. -
hangingBreakListener
Deprecated.
-
-
Constructor Details
-
Oraxen
Deprecated.Recommend Nexo as a replacement. Constructs a new Oraxen instance and initializes listeners.- Parameters:
plugin
- The main Graves plugin instance.oraxenPlugin
- The Oraxen plugin instance.
-
-
Method Details
-
saveData
Deprecated.Recommend Nexo as a replacement. Saves the data related to the Oraxen plugin. -
copyResource
Deprecated.Recommend Nexo as a replacement. Copies resource from jar to the oraxen folder. -
registerListeners
Deprecated.Recommend Nexo as a replacement. Registers event listeners for Oraxen-related events. -
unregisterListeners
Deprecated.Unregisters event listeners to prevent memory leaks or other issues. -
createFurniture
Deprecated.Recommend Nexo as a replacement. Creates and places Oraxen furniture at a specified location.- Parameters:
location
- The location where the furniture will be placed.grave
- The grave related to the furniture.
-
removeFurniture
Deprecated.Recommend Nexo as a replacement. Removes all Oraxen furniture associated with a specified grave.- Parameters:
grave
- The grave whose associated furniture will be removed.
-
removeFurniture
Deprecated.Recommend Nexo as a replacement. Removes a specific Oraxen furniture entity based on entity data.- Parameters:
entityData
- The entity data of the furniture to be removed.
-
removeFurniture
Deprecated.Recommend Nexo as a replacement. Removes Oraxen furniture entities based on a map of entity data to entities.- Parameters:
entityDataMap
- A map of entity data to entities to be removed.
-
createBlock
Deprecated.Recommend Nexo as a replacement. Creates and places an Oraxen block at a specified location.- Parameters:
location
- The location where the block will be placed.grave
- The grave related to the block.
-
isCustomBlock
Deprecated.Recommend Nexo as a replacement. Checks if a block at a specified location is a custom Oraxen block.- Parameters:
location
- The location of the block to check.- Returns:
- True if the block is a custom Oraxen block, false otherwise.
-
removeBlock
Deprecated.Recommend Nexo as a replacement. Removes a block at a specified location.- Parameters:
location
- The location of the block to be removed.
-
getFurnitureMechanic
@Deprecated public io.th0rgal.oraxen.mechanics.provided.gameplay.furniture.FurnitureMechanic getFurnitureMechanic(String string) Deprecated.Recommend Nexo as a replacement. Retrieves a FurnitureMechanic by name from the Oraxen plugin.- Parameters:
string
- The name of the furniture mechanic.- Returns:
- The FurnitureMechanic if found, otherwise null.
-
getNoteBlockMechanic
@Deprecated public io.th0rgal.oraxen.mechanics.provided.gameplay.noteblock.NoteBlockMechanic getNoteBlockMechanic(String string) Deprecated.Recommend Nexo as a replacement. Retrieves a NoteBlockMechanic by name from the Oraxen plugin.- Parameters:
string
- The name of the note block mechanic.- Returns:
- The NoteBlockMechanic if found, otherwise null.
-