Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionUse
GraveAbandonedEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is abandoned.This event extends
GraveEvent
and provides information about the grave that is abandoned.UseGraveAbandonedEvent
instead. Constructs a newGraveAbandonedEvent
.UseGraveAutoLootEvent
instead. Will be removed in 4.9.10.1. Represents an event where a grave is automatically looted.This event extends
GraveEvent
and provides information about the entity involved, the location of the grave, and the grave itself.UseGraveAutoLootEvent
instead. Constructs a newGraveAutoLootEvent
.UseGraveBlockPlaceEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is placed by aLivingEntity
whether that be aPlayer
orEntity
.This event extends
GraveEvent
and provides information about the grave and theLivingEntity
(Player
orEntity
) involved when the grave is placed.UseGraveBlockPlaceEvent([email protected] Grave,[email protected] Location,com.ranull.graves.data.BlockData.BlockType,org.bukkit.block.Block,org.bukkit.entity.LivingEntity)
instead. Constructs a new GraveBlockPlaceEvent.UseGraveBlockPlaceEvent
instead. Constructs a new GraveBlockPlaceEvent.UseGraveBreakEvent
instead. Will be removed in 4.9.10.1. The GraveBreakEvent class represents an event where a grave block is broken by a player. This event extends the GraveEvent and includes additional information about the grave and whether items should drop upon breaking the grave block.UseGraveBreakEvent
instead. Constructs a new GraveBreakEvent.UseGraveBreakEvent
instead.UseGraveCloseEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when an inventory associated with a grave is closed.This event extends
GraveEvent
and provides information about the grave and the player involved when the inventory is closed.UseGraveCloseEvent(InventoryView, Grave, Player)
instead. Constructs a newGraveCloseEvent
.UseGraveCloseEvent
instead. Constructs a newGraveCloseEvent
.UseGraveCompassAddEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave compass is added to a users inventory.This event extends
GravePlayerEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCompassAddEvent(Player, Grave)
instead. Constructs a newGraveCompassAddEvent
.UseGraveCompassAddEvent
instead. Constructs a newGraveCompassAddEvent
.UseGraveCompassUseEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave compass is used.This event extends
GravePlayerEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCompassUseEvent
instead. Constructs a newGraveCompassUseEvent
.UseGraveCreateEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is created for an entity.This event extends
GraveEntityEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCreateEvent
instead. Constructs a newGraveCreateEvent
.UseGraveExplodeEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave explodes.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the explosion from occurring if necessary.UseGraveExplodeEvent
instead. Constructs a newGraveExplodeEvent
.UseGraveLootedEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when an inventory associated with a grave is completely looted.This event extends
GravePlayerEvent
and provides information about the grave and the player involved when the inventory is completely looted.UseGraveLootedEvent
instead. Constructs a newGraveLootedEvent
.UseGraveLootedEvent
instead. Constructs a newGraveLootedEvent
.UseGraveObituaryAddEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when an Obituary is added to a grave.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent obituaries from being included in graves.UseGraveObituaryAddEvent
instead. Constructs a newGraveObituaryAddEvent
.UseGraveOpenEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a player opens an inventory associated with a grave.This event extends
GravePlayerEvent
and includes additional information about the grave and the inventory view that is being opened.UseGraveOpenEvent
instead. Constructs a newGraveOpenEvent
.UseGraveOpenEvent
instead. Constructs a newGraveOpenEvent
.UseGraveParticleEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a particle is spawned to a grave location.This event extends
GravePlayerEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveParticleEvent
instead. Constructs a newGraveParticleEvent
.UseGraveParticleEvent
instead. Constructs a newGraveParticleEvent
.UseGravePistonExtendEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a piston extends into a grave location.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the piston from extending.UseGravePistonExtendEvent
instead. Constructs a newGravePistonExtendEvent
.UseGravePlayerHeadDropEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a Players Head is added to a grave.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent Player Heads from being included in graves.UseGravePlayerHeadDropEvent
instead. Constructs a newGravePlayerHeadDropEvent
.UseGravePreTeleportEvent
instead. Will be removed in 4.9.10.1. Fired just before an entity is teleported to a grave.This event extends
GraveEntityEvent
and is cancellable, allowing listeners to prevent the teleport.UseGraveProjectileHitEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is hit with a projectile.This event extends
GraveEntityEvent
and provides information about the grave that is hit with a projectile.UseGraveProjectileHitEvent
instead. Constructs a newGraveProjectileHitEvent
.UseGraveProjectileHitEvent
instead. Constructs a newGraveProjectileHitEvent
.UseGraveProjectileHitEvent
instead. Constructs a newGraveProjectileHitEvent
.UseGraveProtectionCreateEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection is created.This event extends
GraveEntityEvent
and is cancellable, allowing event listeners to prevent creation of grave protection if necessary.UseGraveProtectionCreateEvent
instead. Constructs a newGraveProtectionCreateEvent
.UseGraveProtectionExpiredEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection has expired.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the expiration of grave protection if necessary.UseGraveProtectionExpiredEvent
instead. Constructs a new GraveProtectionExpiredEvent.UseGraveTeleportEvent
instead. Will be removed in 4.9.10.1. Represents an event that is triggered when a player teleports to a grave.This event is fired when a player teleports to a specified location associated with a grave. It extends from the
GraveEntityEvent
class, inheriting the basic event properties.UseGraveTeleportEvent
instead. Constructs a newGraveTeleportEvent
.UseGraveTimeoutEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave times out.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the grave timeout from occurring if necessary.UseGraveTimeoutEvent
instead. Constructs a newGraveTimeoutEvent
.UseGraveWalkOverEvent
instead. Will be removed in 4.9.10.1. Represents an event where a grave is walked over.This event extends
GraveEntityEvent
and provides information about the entity involved, the location of the grave, and the grave itself.UseGraveWalkOverEvent
instead. Constructs a newGraveWalkOverEvent
.UseGraveZombieSpawnEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a zombie spawns at a grave.This event extends
GraveEvent
and provides details about the location of the spawn and the entity that the zombie is targeting.UseGraveZombieSpawnEvent
instead. A static final instance ofHandlerList
used to manage event handlers.This
HandlerList
is used to register and manage the handlers for events of this type. It provides the mechanism for adding, removing, and invoking event handlers.Use GravesXModule: ItemsAdder instead Integration with the ItemsAdder plugin for handling custom furniture and blocks.Use GravesXModule: ItemsAdder instead Constructs an ItemsAdder instance and saves data related to ItemsAdder.Use GravesXModule: ItemsAdder instead Creates and places a custom block at a specified location.Use GravesXModule: ItemsAdder instead Creates and places custom furniture at a specified location.Use GravesXModule: ItemsAdder instead True if an ItemsAdder custom block exists at the grave location.Use GravesXModule: ItemsAdder instead True if an ItemsAdder furniture entity for this grave is currently spawned.Use GravesXModule: ItemsAdder instead Checks if a custom block exists at a specified location.Use GravesXModule: ItemsAdder instead Removes a custom block at a specified location.Use GravesXModule: ItemsAdder instead Removes custom furniture associated with a specific entity data.Use GravesXModule: ItemsAdder instead Removes all custom furniture associated with a specific grave.Use GravesXModule: ItemsAdder instead Removes custom furniture based on a map of entity data and entities.Use GravesXModule: ItemsAdder instead Copies resource files needed for ItemsAdder integration.Unused API. Deprecated as of 4.9.9.1 and scheduled for removal in 4.9.11.1.Since 4.9.9.1, this class is replaced by the modular APIs underGravesXAPI
. Use:GravesXApi#gravesCreate
for grave creationGravesXApi#gravesManage
for management actionsGravesXApi#world
for location/block-face helpersGravesXApi#inventory
for inventory helpersGravesXApi#skin
for textures and profilesGravesXApi#addon
for addon folder/config exportGravesXApi#util
for utilities (permissions, XP, colors, files, YAML, paste, etc.)
Since 4.9.9.1. UseGravesXAPI(Graves)
.Since 4.9.9.1. UseGraveManagementAPI.abandonGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.autoLootGrave(Entity, Location, Grave)
.Since 4.9.9.1. UseGraveManagementAPI.breakGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.breakGrave(Location, Grave)
.Since 4.9.9.1. UseLocationAPI.chunkStringToLocation(String)
.Since 4.9.9.1. UseLocationAPI.chunkToString(Location)
.Since 4.9.9.1. UseUtilAPI.copyFile(File, String)
(deprecated).Since 4.9.9.1. UseUtilAPI.copyResources(String, String)
.Since 4.9.9.1. UseUtilAPI.copyResources(String, String, boolean)
.Since 4.9.9.1. UseUtilAPI.dustFromHex(String, float)
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. UseGraveCreationAPI.createGrave(Entity, EntityType, int, long)
.Since 4.9.9.1. UseGraveCreationAPI.createGrave(Entity, EntityType, long)
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. UseUtilAPI.base64ToObject(String)
.Since 4.9.9.1. CallPluginDownloadUtil
directly from your code.Since 4.9.9.1. CallPluginDownloadUtil
directly from your code.Since 4.9.9.1. UseGraveManagementAPI.dropGraveItems(Location, Grave)
.Since 4.9.9.1. UseUtilAPI.objectToBase64(Object)
.Since 4.9.9.1. UseAddonAPI.ensureAddonFolder(Plugin)
.Since 4.9.9.1. UseInventoryAPI.equipArmor(Inventory, Player)
.Since 4.9.9.1. UseInventoryAPI.equipItems(Inventory, Player)
.Since 4.9.9.1. UseAddonAPI.exportAddonConfigs(Plugin)
.Since 4.9.9.1. UseAddonAPI.exportAddonConfigs(Plugin, boolean)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. UseLocationAPI.getClosestLocation(Location, List)
.Since 4.9.9.1. UseUtilAPI.getColor(String)
.Since 4.9.9.1. UseUtilAPI.getColorFromHex(String)
.Since 4.9.9.1. UseUtilAPI.dropPercent(int, float)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. UseUtilAPI.xpAtLevel(int)
.Since 4.9.9.1. UseGraveManagementAPI.getGrave(UUID)
.Since 4.9.9.1. UseGraveManagementAPI.getGraveAmount()
.Since 4.9.9.1. UseGraveManagementAPI.getGraveAmount(Player)
.Since 4.9.9.1. Prefer using the typed sub-APIs fromGravesXAPI
.Since 4.9.9.1. UseUtilAPI.highestDouble(Player, String)
.Since 4.9.9.1. UseUtilAPI.highestInt(Player, String)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. This self-reference is obsolete; holdGravesXAPI
instead.Since 4.9.9.1. UseInventoryAPI.getInventorySize(int)
.Since 4.9.9.1. UseUtilAPI.latestSpigotVersion(int)
.Since 4.9.9.1. UseUtilAPI.levelFromXp(long)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. UseUtilAPI.playerDropXp(Player, float)
.Since 4.9.9.1. UseUtilAPI.playerTotalXp(Player)
.Since 4.9.9.1. UseSkinAPI.getPlayerGameProfile(Player)
.Since 4.9.9.1. UseLocationAPI.getRotationFromBlockFace(BlockFace)
.Since 4.9.9.1. UseSkinAPI.getSkinSignature(Entity)
.Since 4.9.9.1. UseSkinAPI.getTexture(Entity)
.Since 4.9.9.1. UseUtilAPI.uuidOf(String)
.Since 4.9.9.1. UseUtilAPI.hasPermission(Entity, String)
.Since 4.9.9.1. UseInventoryAPI.inventoryToString(Inventory)
.Since 4.9.9.1. UseUtilAPI.isAir(Material)
.Since 4.9.9.1. UseGraveManagementAPI.isGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.isGrave(Grave, Location)
.Since 4.9.9.1. UseUtilAPI.isLava(Material)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location, org.bukkit.block.Block)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location, Player)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location, Player, org.bukkit.block.Block)
.Since 4.9.9.1. UseUtilAPI.isPlayerHead(String)
.Since 4.9.9.1. UseUtilAPI.isPlayerHead(Material)
.Since 4.9.9.1. UseUtilAPI.isSafeNotSolid(Material)
.Since 4.9.9.1. UseUtilAPI.isSafeSolid(Material)
.Since 4.9.9.1. UseUtilAPI.isValidYaml(File)
.Since 4.9.9.1. UseUtilAPI.isWater(Material)
.Since 4.9.9.1. UseUtilAPI.loadClass(String)
.Since 4.9.9.1. UseLocationAPI.locationToString(Location)
.Since 4.9.9.1. UseUtilAPI.moveFile(File, String)
.Since 4.9.9.1. UseUtilAPI.postLog(String)
.Since 4.9.9.1. Register your own listeners where needed; this API class is being removed.Since 4.9.9.1. UseGraveManagementAPI.removeGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.removeOldestGrave(LivingEntity)
.Since 4.9.9.1. UseLocationAPI.roundLocation(Location)
.Since 4.9.9.1. UseSkinAPI.setSkullTexture(Skull, String, String)
.Since 4.9.9.1. UseSkinAPI.setSkullTexture(SkullMeta, String, String)
.Since 4.9.9.1. UseLocationAPI.simplifyBlockFace(BlockFace)
.Since 4.9.9.1. UseInventoryAPI.stringToInventory(InventoryHolder, String, String)
.Since 4.9.9.1. UseLocationAPI.stringToLocation(String)
.Since 4.9.9.1. UseUtilAPI.swingMainHand(Player)
.
-
Deprecated ClassesClassDescriptionUse
GraveAbandonedEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is abandoned.This event extends
GraveEvent
and provides information about the grave that is abandoned.UseGraveAutoLootEvent
instead. Will be removed in 4.9.10.1. Represents an event where a grave is automatically looted.This event extends
GraveEvent
and provides information about the entity involved, the location of the grave, and the grave itself.UseGraveBlockPlaceEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is placed by aLivingEntity
whether that be aPlayer
orEntity
.This event extends
GraveEvent
and provides information about the grave and theLivingEntity
(Player
orEntity
) involved when the grave is placed.UseGraveBreakEvent
instead. Will be removed in 4.9.10.1. The GraveBreakEvent class represents an event where a grave block is broken by a player. This event extends the GraveEvent and includes additional information about the grave and whether items should drop upon breaking the grave block.UseGraveCloseEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when an inventory associated with a grave is closed.This event extends
GraveEvent
and provides information about the grave and the player involved when the inventory is closed.UseGraveCompassAddEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave compass is added to a users inventory.This event extends
GravePlayerEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCompassUseEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave compass is used.This event extends
GravePlayerEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCreateEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is created for an entity.This event extends
GraveEntityEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveExplodeEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave explodes.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the explosion from occurring if necessary.UseGraveLootedEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when an inventory associated with a grave is completely looted.This event extends
GravePlayerEvent
and provides information about the grave and the player involved when the inventory is completely looted.UseGraveObituaryAddEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when an Obituary is added to a grave.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent obituaries from being included in graves.UseGraveOpenEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a player opens an inventory associated with a grave.This event extends
GravePlayerEvent
and includes additional information about the grave and the inventory view that is being opened.UseGraveParticleEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a particle is spawned to a grave location.This event extends
GravePlayerEvent
and is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGravePistonExtendEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a piston extends into a grave location.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the piston from extending.UseGravePlayerHeadDropEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a Players Head is added to a grave.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent Player Heads from being included in graves.UseGravePreTeleportEvent
instead. Will be removed in 4.9.10.1. Fired just before an entity is teleported to a grave.This event extends
GraveEntityEvent
and is cancellable, allowing listeners to prevent the teleport.UseGraveProjectileHitEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is hit with a projectile.This event extends
GraveEntityEvent
and provides information about the grave that is hit with a projectile.UseGraveProtectionCreateEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection is created.This event extends
GraveEntityEvent
and is cancellable, allowing event listeners to prevent creation of grave protection if necessary.UseGraveProtectionExpiredEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection has expired.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the expiration of grave protection if necessary.UseGraveTeleportEvent
instead. Will be removed in 4.9.10.1. Represents an event that is triggered when a player teleports to a grave.This event is fired when a player teleports to a specified location associated with a grave. It extends from the
GraveEntityEvent
class, inheriting the basic event properties.UseGraveTimeoutEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave times out.This event extends
GraveEvent
and is cancellable, allowing event listeners to prevent the grave timeout from occurring if necessary.UseGraveWalkOverEvent
instead. Will be removed in 4.9.10.1. Represents an event where a grave is walked over.This event extends
GraveEntityEvent
and provides information about the entity involved, the location of the grave, and the grave itself.UseGraveZombieSpawnEvent
instead. Will be removed in 4.9.10.1. Represents an event that occurs when a zombie spawns at a grave.This event extends
GraveEvent
and provides details about the location of the spawn and the entity that the zombie is targeting.Since 4.9.9.1 — Unmaintained by author. Read here: https://www.spigotmc.org/profile-posts/239137/ Provides integration with the ChestSort plugin to sort inventories.Plugin no longer exists externally Manages FurnitureEngine integration for creating, removing, and interacting with furniture.Use GravesXModule: ItemsAdder instead Integration with the ItemsAdder plugin for handling custom furniture and blocks.Recommend Nexo as a replacement. Integration class for handling communication with the Oraxen plugin. Manages creation, removal, and verification of Oraxen furniture and blocks.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.Plugin no longer exists externally. Use FurnitureLib instead. Listens for FurnitureBreakEvent and checks if the furniture being broken is associated with a grave.Plugin no longer exists externally. Use FurnitureLib instead. 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.Since 4.9.9.1, this class is replaced by the modular APIs underGravesXAPI
. Use:GravesXApi#gravesCreate
for grave creationGravesXApi#gravesManage
for management actionsGravesXApi#world
for location/block-face helpersGravesXApi#inventory
for inventory helpersGravesXApi#skin
for textures and profilesGravesXApi#addon
for addon folder/config exportGravesXApi#util
for utilities (permissions, XP, colors, files, YAML, paste, etc.)
Unmaintained greedware plugin. Handles integration with the CoreProtect plugin. This class provides methods to obtain and interact with the CoreProtect API. It checks the CoreProtect plugin's availability and API version to ensure compatibility.Unmaintained greedware plugin. Listens for events related to graves and logs interactions with CoreProtect. This listener integrates with CoreProtect to log removal and placement of blocks, as well as container transactions when graves are interacted with or affected by events.Unmaintained upstream. see see hereMinimal reflective bridge to
de.jeff_media.chestsort.api.ChestSortAPI
. This was done due to the actual jar wanting to use jeff-media repo that now resolves to nothing. This is a messy way to call it, but fuk it
-
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.Since 4.9.9.1 — Unmaintained by author. Read here: https://www.spigotmc.org/profile-posts/239137/ Sorts the items in the provided inventory using ChestSortAPI.Plugin 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 externally True if FurnitureEngine furniture exists at the grave's location.Plugin 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.Use GravesXModule: ItemsAdder instead Creates and places a custom block at a specified location.Use GravesXModule: ItemsAdder instead Creates and places custom furniture at a specified location.Use GravesXModule: ItemsAdder instead True if an ItemsAdder custom block exists at the grave location.Use GravesXModule: ItemsAdder instead True if an ItemsAdder furniture entity for this grave is currently spawned.Use GravesXModule: ItemsAdder instead Checks if a custom block exists at a specified location.Use GravesXModule: ItemsAdder instead Removes a custom block at a specified location.Use GravesXModule: ItemsAdder instead Removes custom furniture associated with a specific entity data.Use GravesXModule: ItemsAdder instead Removes all custom furniture associated with a specific grave.Use GravesXModule: ItemsAdder instead Removes custom furniture based on a map of entity data and entities.Use GravesXModule: ItemsAdder instead Copies resource files needed for ItemsAdder integration.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. True if an Oraxen custom block exists at the grave location.Recommend Nexo as a replacement. True if an Oraxen furniture entity for this grave is currently spawned.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.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.Plugin no longer exists externally. Use FurnitureLib instead. Handles FurnitureBreakEvent. Cancels the event if the furniture being broken is associated with a grave.Plugin no longer exists externally. Use FurnitureLib instead. 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.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.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 PlayerInteractEntityEvent. If the player interacts with an ItemFrame associated with a grave, it cancels the event and opens the grave for the player.Unused API. Deprecated as of 4.9.9.1 and scheduled for removal in 4.9.11.1.Unmaintained greedware plugin. Returns the instance of the CoreProtect integration, if it is loaded.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.Unmaintained greedware plugin. Checks if CoreProtect integration 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.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. UseStringUtil.getDateString(Grave, long, Graves)
instead.UseGraveManagementAPI.isGrave(Grave, Location)
instead for precise location checking. This code is added for debugging purposes. Checks if the specified location is a grave's location.Since 4.9.9.1. UseGraveManagementAPI.abandonGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.autoLootGrave(Entity, Location, Grave)
.Since 4.9.9.1. UseGraveManagementAPI.breakGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.breakGrave(Location, Grave)
.Since 4.9.9.1. UseLocationAPI.chunkStringToLocation(String)
.Since 4.9.9.1. UseLocationAPI.chunkToString(Location)
.Since 4.9.9.1. UseUtilAPI.copyFile(File, String)
(deprecated).Since 4.9.9.1. UseUtilAPI.copyResources(String, String)
.Since 4.9.9.1. UseUtilAPI.copyResources(String, String, boolean)
.Since 4.9.9.1. UseUtilAPI.dustFromHex(String, float)
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. UseGraveCreationAPI.createGrave(Entity, EntityType, int, long)
.Since 4.9.9.1. UseGraveCreationAPI.createGrave(Entity, EntityType, long)
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. Use the equivalent inGraveCreationAPI
.Since 4.9.9.1. UseUtilAPI.base64ToObject(String)
.Since 4.9.9.1. CallPluginDownloadUtil
directly from your code.Since 4.9.9.1. CallPluginDownloadUtil
directly from your code.Since 4.9.9.1. UseGraveManagementAPI.dropGraveItems(Location, Grave)
.Since 4.9.9.1. UseUtilAPI.objectToBase64(Object)
.Since 4.9.9.1. UseAddonAPI.ensureAddonFolder(Plugin)
.Since 4.9.9.1. UseInventoryAPI.equipArmor(Inventory, Player)
.Since 4.9.9.1. UseInventoryAPI.equipItems(Inventory, Player)
.Since 4.9.9.1. UseAddonAPI.exportAddonConfigs(Plugin)
.Since 4.9.9.1. UseAddonAPI.exportAddonConfigs(Plugin, boolean)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. UseLocationAPI.getClosestLocation(Location, List)
.Since 4.9.9.1. UseUtilAPI.getColor(String)
.Since 4.9.9.1. UseUtilAPI.getColorFromHex(String)
.Since 4.9.9.1. UseUtilAPI.dropPercent(int, float)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. UseUtilAPI.xpAtLevel(int)
.Since 4.9.9.1. UseGraveManagementAPI.getGrave(UUID)
.Since 4.9.9.1. UseGraveManagementAPI.getGraveAmount()
.Since 4.9.9.1. UseGraveManagementAPI.getGraveAmount(Player)
.Since 4.9.9.1. Prefer using the typed sub-APIs fromGravesXAPI
.Since 4.9.9.1. UseUtilAPI.highestDouble(Player, String)
.Since 4.9.9.1. UseUtilAPI.highestInt(Player, String)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. This self-reference is obsolete; holdGravesXAPI
instead.Since 4.9.9.1. UseInventoryAPI.getInventorySize(int)
.Since 4.9.9.1. UseUtilAPI.latestSpigotVersion(int)
.Since 4.9.9.1. UseUtilAPI.levelFromXp(long)
.Since 4.9.9.1. Access data classes directly as needed; no replacement API.Since 4.9.9.1. UseUtilAPI.playerDropXp(Player, float)
.Since 4.9.9.1. UseUtilAPI.playerTotalXp(Player)
.Since 4.9.9.1. UseSkinAPI.getPlayerGameProfile(Player)
.Since 4.9.9.1. UseLocationAPI.getRotationFromBlockFace(BlockFace)
.Since 4.9.9.1. UseSkinAPI.getSkinSignature(Entity)
.Since 4.9.9.1. UseSkinAPI.getTexture(Entity)
.Since 4.9.9.1. UseUtilAPI.uuidOf(String)
.Since 4.9.9.1. UseUtilAPI.hasPermission(Entity, String)
.Since 4.9.9.1. UseInventoryAPI.inventoryToString(Inventory)
.Since 4.9.9.1. UseUtilAPI.isAir(Material)
.Since 4.9.9.1. UseGraveManagementAPI.isGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.isGrave(Grave, Location)
.Since 4.9.9.1. UseUtilAPI.isLava(Material)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location, org.bukkit.block.Block)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location, Player)
.Since 4.9.9.1. UseGraveManagementAPI.isNearGrave(Location, Player, org.bukkit.block.Block)
.Since 4.9.9.1. UseUtilAPI.isPlayerHead(String)
.Since 4.9.9.1. UseUtilAPI.isPlayerHead(Material)
.Since 4.9.9.1. UseUtilAPI.isSafeNotSolid(Material)
.Since 4.9.9.1. UseUtilAPI.isSafeSolid(Material)
.Since 4.9.9.1. UseUtilAPI.isValidYaml(File)
.Since 4.9.9.1. UseUtilAPI.isWater(Material)
.Since 4.9.9.1. UseUtilAPI.loadClass(String)
.Since 4.9.9.1. UseLocationAPI.locationToString(Location)
.Since 4.9.9.1. UseUtilAPI.moveFile(File, String)
.Since 4.9.9.1. UseUtilAPI.postLog(String)
.Since 4.9.9.1. Register your own listeners where needed; this API class is being removed.Since 4.9.9.1. UseGraveManagementAPI.removeGrave(Grave)
.Since 4.9.9.1. UseGraveManagementAPI.removeOldestGrave(LivingEntity)
.Since 4.9.9.1. UseLocationAPI.roundLocation(Location)
.Since 4.9.9.1. UseSkinAPI.setSkullTexture(Skull, String, String)
.Since 4.9.9.1. UseSkinAPI.setSkullTexture(SkullMeta, String, String)
.Since 4.9.9.1. UseLocationAPI.simplifyBlockFace(BlockFace)
.Since 4.9.9.1. UseInventoryAPI.stringToInventory(InventoryHolder, String, String)
.Since 4.9.9.1. UseLocationAPI.stringToLocation(String)
.Since 4.9.9.1. UseUtilAPI.swingMainHand(Player)
.Unmaintained greedware plugin. Retrieves the CoreProtect API instance. If the API instance is not already cached, it attempts to obtain it by checking if the CoreProtect plugin is available, enabled, and if the API version is at least 9. If the CoreProtect plugin is not available or the API version is insufficient, this method will log an error and returnnull
.Use UUIDs for any identity-related logic. This method should only be used for display/UI.Unmaintained greedware plugin. Logs interaction and removal data to CoreProtect when a grave is auto-looted.Unmaintained greedware plugin. Logs placement data to CoreProtect when a grave block is placed.Unmaintained greedware plugin. Logs removal data to CoreProtect when a grave is broken.Unmaintained greedware plugin. Logs interaction data to CoreProtect when a grave is closed.Unmaintained greedware plugin. Logs removal data to CoreProtect when a grave explodes.dev.cwhead.GravesX.listener.integration.coreprotect.CoreProtectListener.onGraveOpen(GraveCloseEvent) Unmaintained greedware plugin. Logs interaction data to CoreProtect when a grave is opened.Unmaintained upstream. see here. Sorts anInventory
.
-
Deprecated ConstructorsConstructorDescriptionUse
GraveAbandonedEvent
instead. Constructs a newGraveAbandonedEvent
.UseGraveAutoLootEvent
instead. Constructs a newGraveAutoLootEvent
.UseGraveBlockPlaceEvent([email protected] Grave,[email protected] Location,com.ranull.graves.data.BlockData.BlockType,org.bukkit.block.Block,org.bukkit.entity.LivingEntity)
instead. Constructs a new GraveBlockPlaceEvent.UseGraveBlockPlaceEvent
instead. Constructs a new GraveBlockPlaceEvent.UseGraveBreakEvent
instead. Constructs a new GraveBreakEvent.UseGraveBreakEvent
instead.UseGraveCloseEvent(InventoryView, Grave, Player)
instead. Constructs a newGraveCloseEvent
.UseGraveCloseEvent
instead. Constructs a newGraveCloseEvent
.UseGraveCompassAddEvent(Player, Grave)
instead. Constructs a newGraveCompassAddEvent
.UseGraveCompassAddEvent
instead. Constructs a newGraveCompassAddEvent
.UseGraveCompassUseEvent
instead. Constructs a newGraveCompassUseEvent
.UseGraveCreateEvent
instead. Constructs a newGraveCreateEvent
.UseGraveExplodeEvent
instead. Constructs a newGraveExplodeEvent
.UseGraveLootedEvent
instead. Constructs a newGraveLootedEvent
.UseGraveLootedEvent
instead. Constructs a newGraveLootedEvent
.UseGraveObituaryAddEvent
instead. Constructs a newGraveObituaryAddEvent
.UseGraveOpenEvent
instead. Constructs a newGraveOpenEvent
.UseGraveOpenEvent
instead. Constructs a newGraveOpenEvent
.UseGraveParticleEvent
instead. Constructs a newGraveParticleEvent
.UseGraveParticleEvent
instead. Constructs a newGraveParticleEvent
.UseGravePistonExtendEvent
instead. Constructs a newGravePistonExtendEvent
.UseGravePlayerHeadDropEvent
instead. Constructs a newGravePlayerHeadDropEvent
.UseGraveProjectileHitEvent
instead. Constructs a newGraveProjectileHitEvent
.UseGraveProjectileHitEvent
instead. Constructs a newGraveProjectileHitEvent
.UseGraveProjectileHitEvent
instead. Constructs a newGraveProjectileHitEvent
.UseGraveProtectionCreateEvent
instead. Constructs a newGraveProtectionCreateEvent
.UseGraveProtectionExpiredEvent
instead. Constructs a new GraveProtectionExpiredEvent.UseGraveTeleportEvent
instead. Constructs a newGraveTeleportEvent
.UseGraveTimeoutEvent
instead. Constructs a newGraveTimeoutEvent
.UseGraveWalkOverEvent
instead. Constructs a newGraveWalkOverEvent
.UseGraveZombieSpawnEvent
instead. A static final instance ofHandlerList
used to manage event handlers.This
HandlerList
is used to register and manage the handlers for events of this type. It provides the mechanism for adding, removing, and invoking event handlers.Plugin no longer exists externally Constructs a FurnitureEngine instance.Use GravesXModule: ItemsAdder instead Constructs an ItemsAdder instance and saves data related to ItemsAdder.Recommend Nexo as a replacement. Constructs a new Oraxen instance and initializes listeners.since 4.9.9.1 — Unmaintained. UseFancyNPCs
instead.Use a central permissions adapter if available.Plugin no longer exists externally. Use FurnitureLib instead. Constructs a new FurnitureBreakListener with the specified FurnitureEngine instance.Plugin no longer exists externally. Use FurnitureLib instead. 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.UseGraveBlockPlaceEvent(Grave, Location, BlockData.BlockType, Block, LivingEntity)
instead. Constructs a new GraveBlockPlaceEvent.Since 4.9.9.1. UseGravesXAPI(Graves)
.Unmaintained greedware plugin. Constructs a newCoreProtectIntegration
.Unmaintained greedware plugin. Constructs a newCoreProtectListener
.
-
Deprecated Enum ConstantsEnum ConstantDescriptionUnmaintained by Author. Read here: https://www.spigotmc.org/profile-posts/239137/ Storage mode designed for sorting chests.
In this mode, the storage or inventory system will utilize features specific to sorting chests and organizing items within them in a sorted manner. Requires the plugin ChestSort.