Class Oraxen


@Deprecated public final class Oraxen extends EntityDataManager
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 Details

    • plugin

      private final Graves plugin
      Deprecated.
    • oraxenPlugin

      private final org.bukkit.plugin.Plugin oraxenPlugin
      Deprecated.
    • playerInteractEntityListener

      private final PlayerInteractEntityListener playerInteractEntityListener
      Deprecated.
    • entityDamageListener

      private final EntityDamageListener entityDamageListener
      Deprecated.
    • hangingBreakListener

      private final HangingBreakListener hangingBreakListener
      Deprecated.
  • Constructor Details

    • Oraxen

      @Deprecated public Oraxen(Graves plugin, org.bukkit.plugin.Plugin oraxenPlugin)
      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 public void saveData()
      Deprecated.
      Recommend Nexo as a replacement. Saves the data related to the Oraxen plugin.
    • copyResource

      @Deprecated private void copyResource(String resourcePath, File outFile)
      Deprecated.
      Recommend Nexo as a replacement. Copies resource from jar to the oraxen folder.
    • registerListeners

      @Deprecated public void registerListeners()
      Deprecated.
      Recommend Nexo as a replacement. Registers event listeners for Oraxen-related events.
    • unregisterListeners

      @Deprecated public void unregisterListeners()
      Deprecated.
      Unregisters event listeners to prevent memory leaks or other issues.
    • createFurniture

      @Deprecated public void createFurniture(org.bukkit.Location location, Grave grave)
      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 public void removeFurniture(Grave grave)
      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 public void removeFurniture(EntityData entityData)
      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 public void removeFurniture(Map<EntityData,org.bukkit.entity.Entity> entityDataMap)
      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 public void createBlock(org.bukkit.Location location, Grave grave)
      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 public boolean isCustomBlock(org.bukkit.Location location)
      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 public void removeBlock(org.bukkit.Location location)
      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.