Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionUse
to properly remove grave hologram data
Removes hologram data from the database.
-
Deprecated ClassesClassDescriptionPlugin no longer exists externally Manages FurnitureEngine integration for creating, removing, and interacting with furniture.Recommend Nexo as a replacement. Integration class for handling communication with the Oraxen plugin. Manages creation, removal, and verification of Oraxen furniture and blocks.Plugin no longer exists externally Listens for FurnitureBreakEvent and checks if the furniture being broken is associated with a grave.Plugin no longer exists externally Listens for FurnitureInteractEvent and handles interactions with furniture that may be associated with a grave.Recommend Nexo as a replacement. Listens for EntityDamageEvent and cancels damage if the entity is an ItemFrame associated with a grave.Recommend Nexo as a replacement. Listens for HangingBreakEvent and cancels the event if the entity being broken is an ItemFrame associated with a grave.Recommend Nexo as a replacement. Listens for PlayerInteractEntityEvent and cancels the event if the player interacts with an ItemFrame associated with a grave.
-
Deprecated FieldsFieldDescriptionPlugin no longer exists externally Integration with FurnitureEngine, another plugin for furniture management.
This
FurnitureEngine
instance represents the integration with the FurnitureEngine plugin, used for managing furniture.
-
Deprecated MethodsMethodDescriptionThis method is deprecated because it is less efficient to check permissions for offline players. Use
Graves.hasGrantedPermission(String, Player)
for online players instead.Use UUIDs for any identity-related logic. This method should only be used for display/UI.Plugin no longer exists externallyPlugin no longer exists externally Cleans up ItemFrames near the death location of a grave.Plugin no longer exists externally Creates and places furniture at the specified location.Plugin no longer exists externally Retrieves the ItemFrame at a specified location.Plugin no longer exists externallyPlugin no longer exists externally Registers FurnitureEngine event listeners.Plugin no longer exists externally Removes specific furniture entity data.Plugin no longer exists externally Removes furniture associated with the specified grave.Plugin no longer exists externally Removes multiple pieces of furniture based on a map of entity data to entities.Plugin no longer exists externally Unregisters FurnitureEngine event listeners.Recommend Nexo as a replacement. Copies resource from jar to the oraxen folder.Recommend Nexo as a replacement. Creates and places an Oraxen block at a specified location.Recommend Nexo as a replacement. Creates and places Oraxen furniture at a specified location.Recommend Nexo as a replacement. Retrieves a FurnitureMechanic by name from the Oraxen plugin.Recommend Nexo as a replacement. Retrieves a NoteBlockMechanic by name from the Oraxen plugin.Recommend Nexo as a replacement. Checks if a block at a specified location is a custom Oraxen block.Recommend Nexo as a replacement. Registers event listeners for Oraxen-related events.Recommend Nexo as a replacement. Removes a block at a specified location.Recommend Nexo as a replacement. Removes a specific Oraxen furniture entity based on entity data.Recommend Nexo as a replacement. Removes all Oraxen furniture associated with a specified grave.Recommend Nexo as a replacement. Removes Oraxen furniture entities based on a map of entity data to entities.Recommend Nexo as a replacement. Saves the data related to the Oraxen plugin.Plugin no longer exists externally Checks if the furniture being broken is associated with a grave.Plugin no longer exists externally Handles FurnitureBreakEvent. Cancels the event if the furniture being broken is associated with a grave.Plugin no longer exists externally Handles the interaction with the furniture. If the furniture is associated with a grave, attempts to open the grave and cancels the event if successful.Plugin no longer exists externally Handles FurnitureInteractEvent. If the furniture being interacted with is associated with a grave, it attempts to open the grave and cancels the event if successful.Recommend Nexo as a replacement. Checks if the entity is an ItemFrame and has an associated grave.com.ranull.graves.listener.integration.oraxen.EntityDamageListener.onEntityDamage(EntityDamageEvent) Recommend Nexo as a replacement. Handles EntityDamageEvent. If the entity being damaged is an ItemFrame and is associated with a grave, it cancels the damage event.Recommend Nexo as a replacement. Checks if the entity is an ItemFrame and has an associated grave.com.ranull.graves.listener.integration.oraxen.HangingBreakListener.onHangingBreak(HangingBreakEvent) Recommend Nexo as a replacement. Handles HangingBreakEvent. If the entity being broken is an ItemFrame and is associated with a grave, it cancels the event.Recommend Nexo as a replacement. Handles the interaction with the furniture. If the furniture is associated with a grave, the event is cancelled and the grave is opened for the player.Recommend Nexo as a replacement. Checks if the entity is an ItemFrame.Recommend Nexo as a replacement. Handles PlayerInteractEntityEvent. If the player interacts with an ItemFrame associated with a grave, it cancels the event and opens the grave for the player.Useto properly remove grave hologram data
Removes hologram data from the database.This method is deprecated. UseGraveManager.shouldIgnoreBlock(Block, Entity, List<String>)
instead.Plugin no longer exists externally Returns the instance of the FurnitureEngine integration, if it is loaded.Use Nexo instead. Unmaintained and will be for the forseeable future. Returns the instance of the Oraxen integration, if it is loaded.Plugin no longer exists externally Checks if FurnitureEngine integration is loaded.Use Nexo instead. Unmaintained and will be for the forseeable future. Checks if Oraxen integration is loaded.Plugin no longer exists externally Loads the FurnitureEngine integration if enabled in the configuration.Use Nexo instead. Unmaintained and will be for the forseeable future. Loads the Oraxen integration if enabled in the configuration.This method is deprecated and will be removed in future versions. UseGrave.getLocationDeath()
instead for accurate location data. Retrieves the location associated with this instance.This method returns the location as a
Location
object.This method is deprecated and will be removed in future versions. UseGrave.setLocationDeath(Location)
instead for accurate location data. Sets the location associated with this instance.This method sets the location to the specified
Location
.This method is deprecated and will be removed in a future version. Use
Gets the amount of experience a player will drop upon death based on a percentage.ExperienceUtil.getLevelFromExperience(long)
instead.This method is deprecated and will be removed in a future version. Use
Copies a file to a new location with a new name.FileUtil.moveFile(File, String)
instead.This method is deprecated and will be removed in a future version. Use
Checks if the given material is a player head.MaterialUtil.isPlayerHead(String)
instead.This method is deprecated and will be removed in a future version. UseStringUtil.getDateString(Grave, long, Graves)
instead.This method is deprecated and will be removed in a future version. Use
Copies a file to a new location with a new name using FileUtil.moveFile(File, String)
instead.This method is deprecated and will be removed in a future version. Use
Gets the amount of experience a player will drop upon death based on a percentage.getLevelFromExperience(long)
instead.UseisGrave(Grave, Location)
instead for precise location checking. This code is added for debugging purposes. Checks if the specified location is a grave's location.
-
Deprecated ConstructorsConstructorDescriptionUse
GraveBlockPlaceEvent(Grave, Location, BlockData.BlockType, Block, LivingEntity)
instead. Constructs a new GraveBlockPlaceEvent.UseGraveCloseEvent(InventoryView, Grave, Player)
instead. Constructs a newGraveCloseEvent
.UseGraveCompassAddEvent(Player, Grave)
instead. Constructs a newGraveCompassUseEvent
.UseGraveCompassUseEvent(Player, Grave)
instead. Constructs a newGraveCompassUseEvent
.UseGraveLootedEvent(InventoryView, Grave, Player)
instead. Constructs a newGraveLootedEvent
.UseGraveOpenEvent(InventoryView, Grave, Player)
instead for better player logging. Constructs a newGraveOpenEvent
.UseGraveParticleEvent(Player, Grave)
instead. Constructs a newGraveParticleEvent
.Plugin no longer exists externally Constructs a FurnitureEngine instance.Recommend Nexo as a replacement. Constructs a new Oraxen instance and initializes listeners.Plugin no longer exists externally Constructs a new FurnitureBreakListener with the specified FurnitureEngine instance.Plugin no longer exists externally Constructs a new FurnitureInteractListener with the specified Graves plugin and FurnitureEngine instance.Recommend Nexo as a replacement. Constructs a new EntityDamageListener with the specified Oraxen instance.Recommend Nexo as a replacement. Constructs a new HangingBreakListener with the specified Oraxen instance.Recommend Nexo as a replacement. Constructs a new PlayerInteractEntityListener with the specified Graves and Oraxen instances.