Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionUse
GraveAbandonedEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is abandoned.This event extends
GraveEventand provides information about the grave that is abandoned.UseGraveAbandonedEventinstead. Constructs a newGraveAbandonedEvent.UseGraveAutoLootEventinstead. Will be removed in 4.9.10.1. Represents an event where a grave is automatically looted.This event extends
GraveEventand provides information about the entity involved, the location of the grave, and the grave itself.UseGraveAutoLootEventinstead. Constructs a newGraveAutoLootEvent.UseGraveBlockPlaceEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is placed by aLivingEntitywhether that be aPlayerorEntity.This event extends
GraveEventand provides information about the grave and theLivingEntity(PlayerorEntity) involved when the grave is placed.UseGraveBlockPlaceEventinstead. Constructs a new GraveBlockPlaceEvent.UseGraveBreakEventinstead. 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.UseGraveBreakEventinstead. Constructs a new GraveBreakEvent.UseGraveBreakEventinstead.UseGraveCloseEventinstead. 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
GraveEventand provides information about the grave and the player involved when the inventory is closed.UseGraveCloseEvent(InventoryView, Grave, Player)instead. Constructs a newGraveCloseEvent.UseGraveCloseEventinstead. Constructs a newGraveCloseEvent.UseGraveCompassAddEventinstead. 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
GravePlayerEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCompassAddEvent(Player, Grave)instead. Constructs a newGraveCompassAddEvent.UseGraveCompassAddEventinstead. Constructs a newGraveCompassAddEvent.UseGraveCompassUseEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave compass is used.This event extends
GravePlayerEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCompassUseEventinstead. Constructs a newGraveCompassUseEvent.UseGraveCreateEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is created for an entity.This event extends
GraveEntityEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCreateEventinstead. Constructs a newGraveCreateEvent.UseGraveExplodeEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave explodes.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the explosion from occurring if necessary.UseGraveExplodeEventinstead. Constructs a newGraveExplodeEvent.UseGraveLootedEventinstead. 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
GravePlayerEventand provides information about the grave and the player involved when the inventory is completely looted.UseGraveLootedEventinstead. Constructs a newGraveLootedEvent.UseGraveLootedEventinstead. Constructs a newGraveLootedEvent.UseGraveObituaryAddEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when an Obituary is added to a grave.This event extends
GraveEventand is cancellable, allowing event listeners to prevent obituaries from being included in graves.UseGraveObituaryAddEventinstead. Constructs a newGraveObituaryAddEvent.UseGraveOpenEventinstead. 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
GravePlayerEventand includes additional information about the grave and the inventory view that is being opened.UseGraveOpenEventinstead. Constructs a newGraveOpenEvent.UseGraveOpenEventinstead. Constructs a newGraveOpenEvent.UseGraveParticleEventinstead. 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
GravePlayerEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveParticleEventinstead. Constructs a newGraveParticleEvent.UseGraveParticleEventinstead. Constructs a newGraveParticleEvent.UseGravePistonExtendEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a piston extends into a grave location.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the piston from extending.UseGravePistonExtendEventinstead. Constructs a newGravePistonExtendEvent.UseGravePlayerHeadDropEventinstead. 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
GraveEventand is cancellable, allowing event listeners to prevent Player Heads from being included in graves.UseGravePlayerHeadDropEventinstead. Constructs a newGravePlayerHeadDropEvent.UseGravePreTeleportEventinstead. Will be removed in 4.9.10.1. Fired just before an entity is teleported to a grave.This event extends
GraveEntityEventand is cancellable, allowing listeners to prevent the teleport.UseGraveProjectileHitEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is hit with a projectile.This event extends
GraveEntityEventand provides information about the grave that is hit with a projectile.UseGraveProjectileHitEventinstead. Constructs a newGraveProjectileHitEvent.UseGraveProjectileHitEventinstead. Constructs a newGraveProjectileHitEvent.UseGraveProjectileHitEventinstead. Constructs a newGraveProjectileHitEvent.UseGraveProtectionCreateEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection is created.This event extends
GraveEntityEventand is cancellable, allowing event listeners to prevent creation of grave protection if necessary.UseGraveProtectionCreateEventinstead. Constructs a newGraveProtectionCreateEvent.UseGraveProtectionExpiredEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection has expired.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the expiration of grave protection if necessary.UseGraveProtectionExpiredEventinstead. Constructs a new GraveProtectionExpiredEvent.UseGraveTeleportEventinstead. 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
GraveEntityEventclass, inheriting the basic event properties.UseGraveTeleportEventinstead. Constructs a newGraveTeleportEvent.UseGraveTimeoutEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave times out.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the grave timeout from occurring if necessary.UseGraveTimeoutEventinstead. Constructs a newGraveTimeoutEvent.UseGraveWalkOverEventinstead. Will be removed in 4.9.10.1. Represents an event where a grave is walked over.This event extends
GraveEntityEventand provides information about the entity involved, the location of the grave, and the grave itself.UseGraveWalkOverEventinstead. Constructs a newGraveWalkOverEvent.UseGraveZombieSpawnEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a zombie spawns at a grave.This event extends
GraveEventand provides details about the location of the spawn and the entity that the zombie is targeting.UseGraveZombieSpawnEventinstead. A static final instance ofHandlerListused to manage event handlers.This
HandlerListis 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#gravesCreatefor grave creationGravesXApi#gravesManagefor management actionsGravesXApi#worldfor location/block-face helpersGravesXApi#inventoryfor inventory helpersGravesXApi#skinfor textures and profilesGravesXApi#addonfor addon folder/config exportGravesXApi#utilfor 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. CallPluginDownloadUtildirectly from your code.Since 4.9.9.1. CallPluginDownloadUtildirectly 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; holdGravesXAPIinstead.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).Use FancyNpcs instead. API is always removing methods with little to no deprecation notice. Last need a large ass reflection class to keep up with their destructive changes. Manages NPC interactions and corpse creation/removal related to player graves using Citizens2. Utilizes reflection to remain compatible across multiple Citizens versions.
-
Deprecated ClassesClassDescriptionUse
GraveAbandonedEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is abandoned.This event extends
GraveEventand provides information about the grave that is abandoned.UseGraveAutoLootEventinstead. Will be removed in 4.9.10.1. Represents an event where a grave is automatically looted.This event extends
GraveEventand provides information about the entity involved, the location of the grave, and the grave itself.UseGraveBlockPlaceEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is placed by aLivingEntitywhether that be aPlayerorEntity.This event extends
GraveEventand provides information about the grave and theLivingEntity(PlayerorEntity) involved when the grave is placed.UseGraveBreakEventinstead. 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.UseGraveCloseEventinstead. 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
GraveEventand provides information about the grave and the player involved when the inventory is closed.UseGraveCompassAddEventinstead. 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
GravePlayerEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCompassUseEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave compass is used.This event extends
GravePlayerEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveCreateEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is created for an entity.This event extends
GraveEntityEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGraveExplodeEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave explodes.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the explosion from occurring if necessary.UseGraveLootedEventinstead. 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
GravePlayerEventand provides information about the grave and the player involved when the inventory is completely looted.UseGraveObituaryAddEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when an Obituary is added to a grave.This event extends
GraveEventand is cancellable, allowing event listeners to prevent obituaries from being included in graves.UseGraveOpenEventinstead. 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
GravePlayerEventand includes additional information about the grave and the inventory view that is being opened.UseGraveParticleEventinstead. 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
GravePlayerEventand is cancellable, allowing event listeners to prevent the creation of the grave if necessary.UseGravePistonExtendEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a piston extends into a grave location.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the piston from extending.UseGravePlayerHeadDropEventinstead. 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
GraveEventand is cancellable, allowing event listeners to prevent Player Heads from being included in graves.UseGravePreTeleportEventinstead. Will be removed in 4.9.10.1. Fired just before an entity is teleported to a grave.This event extends
GraveEntityEventand is cancellable, allowing listeners to prevent the teleport.UseGraveProjectileHitEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave is hit with a projectile.This event extends
GraveEntityEventand provides information about the grave that is hit with a projectile.UseGraveProtectionCreateEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection is created.This event extends
GraveEntityEventand is cancellable, allowing event listeners to prevent creation of grave protection if necessary.UseGraveProtectionExpiredEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when grave protection has expired.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the expiration of grave protection if necessary.UseGraveTeleportEventinstead. 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
GraveEntityEventclass, inheriting the basic event properties.UseGraveTimeoutEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a grave times out.This event extends
GraveEventand is cancellable, allowing event listeners to prevent the grave timeout from occurring if necessary.UseGraveWalkOverEventinstead. Will be removed in 4.9.10.1. Represents an event where a grave is walked over.This event extends
GraveEntityEventand provides information about the entity involved, the location of the grave, and the grave itself.UseGraveZombieSpawnEventinstead. Will be removed in 4.9.10.1. Represents an event that occurs when a zombie spawns at a grave.This event extends
GraveEventand 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. UseFancyNPCsinstead.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#gravesCreatefor grave creationGravesXApi#gravesManagefor management actionsGravesXApi#worldfor location/block-face helpersGravesXApi#inventoryfor inventory helpersGravesXApi#skinfor textures and profilesGravesXApi#addonfor addon folder/config exportGravesXApi#utilfor utilities (permissions, XP, colors, files, YAML, paste, etc.)
Use FancyNpcs instead. API is always removing methods with little to no deprecation notice. Last need a large ass reflection class to keep up with their destructive changes. Manages NPC interactions and corpse creation/removal related to player graves using Citizens2. Utilizes reflection to remain compatible across multiple Citizens versions.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. UseFancyNPCsinstead.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.since 4.9.9.1 — Unmaintained. UseFancyNPCsinstead.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
Locationobject.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. CallPluginDownloadUtildirectly from your code.Since 4.9.9.1. CallPluginDownloadUtildirectly 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; holdGravesXAPIinstead.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
GraveAbandonedEventinstead. Constructs a newGraveAbandonedEvent.UseGraveAutoLootEventinstead. Constructs a newGraveAutoLootEvent.UseGraveBlockPlaceEventinstead. Constructs a new GraveBlockPlaceEvent.UseGraveBreakEventinstead. Constructs a new GraveBreakEvent.UseGraveBreakEventinstead.UseGraveCloseEvent(InventoryView, Grave, Player)instead. Constructs a newGraveCloseEvent.UseGraveCloseEventinstead. Constructs a newGraveCloseEvent.UseGraveCompassAddEvent(Player, Grave)instead. Constructs a newGraveCompassAddEvent.UseGraveCompassAddEventinstead. Constructs a newGraveCompassAddEvent.UseGraveCompassUseEventinstead. Constructs a newGraveCompassUseEvent.UseGraveCreateEventinstead. Constructs a newGraveCreateEvent.UseGraveExplodeEventinstead. Constructs a newGraveExplodeEvent.UseGraveLootedEventinstead. Constructs a newGraveLootedEvent.UseGraveLootedEventinstead. Constructs a newGraveLootedEvent.UseGraveObituaryAddEventinstead. Constructs a newGraveObituaryAddEvent.UseGraveOpenEventinstead. Constructs a newGraveOpenEvent.UseGraveOpenEventinstead. Constructs a newGraveOpenEvent.UseGraveParticleEventinstead. Constructs a newGraveParticleEvent.UseGraveParticleEventinstead. Constructs a newGraveParticleEvent.UseGravePistonExtendEventinstead. Constructs a newGravePistonExtendEvent.UseGravePlayerHeadDropEventinstead. Constructs a newGravePlayerHeadDropEvent.UseGraveProjectileHitEventinstead. Constructs a newGraveProjectileHitEvent.UseGraveProjectileHitEventinstead. Constructs a newGraveProjectileHitEvent.UseGraveProjectileHitEventinstead. Constructs a newGraveProjectileHitEvent.UseGraveProtectionCreateEventinstead. Constructs a newGraveProtectionCreateEvent.UseGraveProtectionExpiredEventinstead. Constructs a new GraveProtectionExpiredEvent.UseGraveTeleportEventinstead. Constructs a newGraveTeleportEvent.UseGraveTimeoutEventinstead. Constructs a newGraveTimeoutEvent.UseGraveWalkOverEventinstead. Constructs a newGraveWalkOverEvent.UseGraveZombieSpawnEventinstead. A static final instance ofHandlerListused to manage event handlers.This
HandlerListis 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. UseFancyNPCsinstead.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.