Uses of Class
com.ranull.graves.type.Grave
Packages that use Grave
Package
Description
-
Uses of Grave in com.ranull.graves
Methods in com.ranull.graves with parameters of type GraveModifier and TypeMethodDescriptionorg.bukkit.configuration.ConfigurationSection
Gets a configuration section based on a specific grave.Method parameters in com.ranull.graves with type arguments of type Grave -
Uses of Grave in com.ranull.graves.compatibility
Methods in com.ranull.graves.compatibility with parameters of type GraveModifier and TypeMethodDescriptionorg.bukkit.inventory.ItemStack
Compatibility.getSkullItemStack
(Grave grave, Graves plugin) Gets the skull item stack for a given grave.org.bukkit.inventory.ItemStack
CompatibilityBlockData.getSkullItemStack
(Grave grave, Graves plugin) Gets the skull item stack for a given grave.org.bukkit.inventory.ItemStack
CompatibilityMaterialData.getSkullItemStack
(Grave grave, Graves plugin) Gets the skull item stack for a given grave.Compatibility.setBlockData
(org.bukkit.Location location, org.bukkit.Material material, Grave grave, Graves plugin) Sets the block data for a given location and material, associating it with a grave.CompatibilityBlockData.setBlockData
(org.bukkit.Location location, org.bukkit.Material material, Grave grave, Graves plugin) Sets the block data for a given location and material, associating it with a grave.CompatibilityMaterialData.setBlockData
(org.bukkit.Location location, org.bukkit.Material material, Grave grave, Graves plugin) Sets the block data for a given location and material, associating it with a grave. -
Uses of Grave in com.ranull.graves.event
Constructors in com.ranull.graves.event with parameters of type GraveModifierConstructorDescriptionGraveAbandonedEvent
(@NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.GraveAutoLootEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull org.bukkit.Location location, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveAutoLootEvent
instead.GraveBlockPlaceEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, BlockData.BlockType blockType) Deprecated, for removal: This API element is subject to removal in a future version.GraveBlockPlaceEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, BlockData.BlockType blockType, org.bukkit.block.Block block, org.bukkit.entity.LivingEntity livingEntity) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveBlockPlaceEvent
instead.GraveBreakEvent
(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveBreakEvent
instead.GraveBreakEvent
(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.entity.Player player, @NotNull Grave grave, BlockData.BlockType blockType) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveBreakEvent
instead.GraveCloseEvent
(@NotNull Grave grave, @NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull org.bukkit.entity.Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveCloseEvent(InventoryView, Grave, Player)
instead.GraveCloseEvent
(@NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull Grave grave, @NotNull org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveCloseEvent
instead.GraveCompassAddEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveCompassAddEvent(Player, Grave)
instead.GraveCompassAddEvent
(@NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveCompassAddEvent
instead.GraveCompassUseEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.GraveCompassUseEvent
(@NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveCompassUseEvent
instead.GraveCreateEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveCreateEvent
instead.GraveExplodeEvent
(@NotNull org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveExplodeEvent
instead.GraveLootedEvent
(@NotNull Grave grave, @NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull org.bukkit.entity.Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveLootedEvent
instead.GraveLootedEvent
(@NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull Grave grave, @NotNull org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveLootedEvent
instead.GraveObituaryAddEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveObituaryAddEvent
instead.GraveOpenEvent
(@NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveOpenEvent
instead.GraveOpenEvent
(@NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull Grave grave, @NotNull org.bukkit.entity.Player player) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveOpenEvent
instead.GraveParticleEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveParticleEvent
instead.GraveParticleEvent
(@NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveParticleEvent
instead.GravePistonExtendEvent
(@NotNull Grave grave, @Nullable org.bukkit.Location location, @NotNull org.bukkit.block.Block pistonBlock, @NotNull org.bukkit.block.BlockFace direction, @NotNull List<org.bukkit.block.Block> movedBlocks) Deprecated, for removal: This API element is subject to removal in a future version.UseGravePistonExtendEvent
instead.GravePlayerHeadDropEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.UseGravePlayerHeadDropEvent
instead.GravePreTeleportEvent
(@NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.GraveProjectileHitEvent
(@NotNull org.bukkit.Location location, @NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity, @Nullable org.bukkit.block.Block block) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveProjectileHitEvent
instead.GraveProjectileHitEvent
(@NotNull org.bukkit.Location location, @NotNull org.bukkit.entity.LivingEntity livingEntity, @NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity, @Nullable org.bukkit.block.Block block) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveProjectileHitEvent
instead.GraveProjectileHitEvent
(@NotNull org.bukkit.Location location, @NotNull org.bukkit.entity.Player player, @NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity, @Nullable org.bukkit.block.Block block) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveProjectileHitEvent
instead.GraveProtectionCreateEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveProtectionCreateEvent
instead.GraveProtectionExpiredEvent
(@NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveProtectionExpiredEvent
instead.GraveTeleportEvent
(@NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveTeleportEvent
instead.GraveTimeoutEvent
(@NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveTimeoutEvent
instead.GraveWalkOverEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull org.bukkit.Location location, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveWalkOverEvent
instead.GraveZombieSpawnEvent
(@NotNull org.bukkit.Location location, @NotNull org.bukkit.entity.LivingEntity targetEntity, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.UseGraveZombieSpawnEvent
instead. -
Uses of Grave in com.ranull.graves.integration
Methods in com.ranull.graves.integration with parameters of type GraveModifier and TypeMethodDescriptionvoid
FurnitureEngine.cleanupItemFrame
(Grave grave) Deprecated.Plugin no longer exists externally Cleans up ItemFrames near the death location of a grave.void
ItemsAdder.createBlock
(org.bukkit.Location location, Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Use GravesXModule: ItemsAdder instead Creates and places a custom block at a specified location.void
Oraxen.createBlock
(org.bukkit.Location location, Grave grave) Deprecated.Recommend Nexo as a replacement.void
PlayerNPC.createCorpse
(UUID uuid, org.bukkit.Location location, Grave grave, boolean createEntityData) Deprecated.since 4.9.9.1 — Unmaintained.void
PlayerNPC.createCorpse
(org.bukkit.Location location, Grave grave) Deprecated.since 4.9.9.1 — Unmaintained.void
FurnitureEngine.createFurniture
(org.bukkit.Location location, Grave grave) Deprecated.Plugin no longer exists externally Creates and places furniture at the specified location.void
FurnitureLib.createFurniture
(org.bukkit.Location location, Grave grave) Creates and places furniture at the specified location.void
ItemsAdder.createFurniture
(org.bukkit.Location location, Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Use GravesXModule: ItemsAdder instead Creates and places custom furniture at a specified location.void
Oraxen.createFurniture
(org.bukkit.Location location, Grave grave) Deprecated.Recommend Nexo as a replacement.static org.bukkit.inventory.ItemStack
MiniMessage.formatBookMeta
(Graves plugin, Grave grave, org.bukkit.inventory.ItemStack itemStack, net.kyori.adventure.text.Component title, net.kyori.adventure.text.Component author, List<net.kyori.adventure.text.Component> pages, List<net.kyori.adventure.text.Component> lore) Formats a written book's metadata (title, author, pages, lore, and optionally custom model data) using Adventure components and legacy section serialization.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Use GravesXModule: ItemsAdder instead True if an ItemsAdder custom block exists at the grave location.boolean
Deprecated.Recommend Nexo as a replacement.boolean
FurnitureEngine.hasFurniture
(Grave grave) Deprecated.Plugin no longer exists externally True if FurnitureEngine furniture exists at the grave's location.boolean
FurnitureLib.hasFurniture
(Grave grave) True if FurnitureLib furniture occupies the grave's location.boolean
ItemsAdder.hasFurniture
(Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Use GravesXModule: ItemsAdder instead True if an ItemsAdder furniture entity for this grave is currently spawned.boolean
Oraxen.hasFurniture
(Grave grave) Deprecated.Recommend Nexo as a replacement.void
MultiPaper.notifyGraveCreation
(Grave grave) Notifies other servers about a grave creation event.void
MultiPaper.notifyGraveRemoval
(Grave grave) Notifies other servers about a grave removal event.void
PlayerNPC.removeCorpse
(Grave grave) Deprecated.since 4.9.9.1 — Unmaintained.void
FurnitureEngine.removeFurniture
(Grave grave) Deprecated.Plugin no longer exists externally Removes furniture associated with the specified grave.void
FurnitureLib.removeFurniture
(Grave grave) Removes furniture associated with the specified grave.void
ItemsAdder.removeFurniture
(Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Use GravesXModule: ItemsAdder instead Removes all custom furniture associated with a specific grave.void
Oraxen.removeFurniture
(Grave grave) Deprecated.Recommend Nexo as a replacement. -
Uses of Grave in com.ranull.graves.inventory
Methods in com.ranull.graves.inventory that return GraveModifier and TypeMethodDescriptionGraveList.getGrave
(int slot) Gets the Grave object at the specified slot in the grave list.GraveMenu.getGrave()
Gets the Grave object associated with this menu.Constructors in com.ranull.graves.inventory with parameters of type GraveModifierConstructorDescriptionConstructs a new GraveMenu instance for the specified grave.Constructor parameters in com.ranull.graves.inventory with type arguments of type Grave -
Uses of Grave in com.ranull.graves.manager
Methods in com.ranull.graves.manager that return GraveModifier and TypeMethodDescriptionImportManager.convertAngelChestToGrave
(File file) Converts a single AngelChest YAML file into aGrave
, applying fallbacks for world, coords, and metadata.GraveManager.createGrave
(org.bukkit.entity.Entity entity, List<org.bukkit.inventory.ItemStack> itemStackList) Creates a new grave for the specified entity and list of item stacks.GraveManager.createGrave
(org.bukkit.entity.Entity entity, List<org.bukkit.inventory.ItemStack> itemStackList, List<String> permissionList) Creates a new grave for the specified entity, list of item stacks, and permissions.EntityDataManager.getGrave
(org.bukkit.entity.Entity entity) Retrieves a grave for a specified entity.Retrieves a grave for a specified location and entity UUID.BlockManager.getGraveFromBlock
(org.bukkit.block.Block block) Gets the grave associated with the specified block.BlockManager.getGraveFromBlockLocation
(org.bukkit.Location location) Gets the grave block associated with the specified location.EntityManager.getGraveFromEntityData
(org.bukkit.entity.Entity entity) Retrieves aGrave
object from the persistent data or metadata of the specified entity.CacheManager.getOldestGrave
(UUID playerUUID) Returns the oldest grave for a given player.DataManager.resultSetToGrave
(ResultSet resultSet) Converts a ResultSet to a Grave object.Methods in com.ranull.graves.manager that return types with arguments of type GraveModifier and TypeMethodDescriptionGraveManager.getAllGraves()
Gets a list of all graves.GraveManager.getGraveList
(UUID uuid) Retrieves a list of graves associated with a UUID.GraveManager.getGraveList
(org.bukkit.entity.Entity entity) Retrieves a list of graves associated with an entity.GraveManager.getGraveList
(org.bukkit.entity.Player player) Retrieves a list of graves associated with a player.GraveManager.getGraveList
(org.bukkit.OfflinePlayer player) Retrieves a list of graves associated with an offline player.CacheManager.getGraveMap()
Returns the map of grave UUIDs to their correspondingGrave
objects.ImportManager.importExternalPluginAngelChest()
Imports all AngelChest graves found on disk.Methods in com.ranull.graves.manager with parameters of type GraveModifier and TypeMethodDescriptionvoid
GraveManager.abandonGrave
(Grave grave) Abandons a grave.void
Adds a grave to the database.void
GraveManager.autoLootGrave
(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Automatically loots a grave for a player.void
GraveManager.breakGrave
(Grave grave) Breaks a grave at its death location.void
GraveManager.breakGrave
(org.bukkit.Location location, Grave grave) Breaks a grave at the specified location.boolean
EntityManager.canOpenGrave
(org.bukkit.entity.Player player, Grave grave) Checks if a player can open a specified grave.void
GraveManager.cleanupCompasses
(org.bukkit.entity.Player player, Grave grave) Cleans up compasses from a player's inventory that are associated with a grave.void
GraveManager.closeGrave
(Grave grave) Closes any open inventories associated with a grave.void
EntityManager.createArmorStand
(org.bukkit.Location location, Grave grave) Creates an armor stand at a specified location associated with a grave.void
BlockManager.createBlock
(org.bukkit.Location location, Grave grave) Creates a block at the specified location for the given grave.void
EntityDataManager.createEntityData
(org.bukkit.entity.Entity entity, Grave grave, EntityData.Type type) Creates entity data for a specified entity and grave.org.bukkit.inventory.ItemStack
EntityManager.createGraveCompass
(org.bukkit.entity.Player player, org.bukkit.Location location, Grave grave) Creates a grave compass for the specified player, location, and grave.org.bukkit.inventory.ItemStack
ItemStackManager.createGraveListItemStack
(int number, Grave grave) Creates an ItemStack representing a grave in a list.org.bukkit.inventory.ItemStack
ItemStackManager.createGraveMenuItemStack
(int slot, Grave grave) Creates an ItemStack for a grave menu slot.void
HologramManager.createHologram
(org.bukkit.Location location, Grave grave) Creates a hologram at the specified location for a given grave.void
EntityManager.createItemFrame
(org.bukkit.Location location, Grave grave) Creates an item frame at a specified location associated with a grave.void
GraveManager.dropGraveExperience
(org.bukkit.Location location, Grave grave) Drops the experience from a grave at the specified location.void
GraveManager.dropGraveItems
(org.bukkit.Location location, Grave grave) Drops the items from a grave at the specified location.BlockManager.getBlockDataList
(Grave grave) Gets a list of BlockData associated with the given grave.List
<org.bukkit.Location> BlockManager.getBlockList
(Grave grave) Gets a list of locations of blocks associated with the given grave.GraveManager.getDamageReason
(org.bukkit.event.entity.EntityDamageEvent.DamageCause damageCause, Grave grave) Retrieves the damage reason for a specified damage cause and grave.Map
<org.bukkit.inventory.EquipmentSlot, org.bukkit.inventory.ItemStack> EntityManager.getEquipmentMap
(org.bukkit.entity.LivingEntity livingEntity, Grave grave) Retrieves a map of equipment slots and their corresponding item stacks for a living entity and grave.org.bukkit.inventory.ItemStack
ItemStackManager.getGraveHead
(Grave grave) Creates an ItemStack representing the head of a grave owner.org.bukkit.inventory.Inventory
GraveManager.getGraveInventory
(Grave grave, org.bukkit.entity.LivingEntity livingEntity, List<org.bukkit.inventory.ItemStack> graveItemStackList, List<org.bukkit.inventory.ItemStack> removedItemStackList, List<String> permissionList) Retrieves the grave inventory for a specified grave and living entity.org.bukkit.Location
GraveManager.getGraveLocation
(org.bukkit.Location location, Grave grave) Retrieves the nearest grave location to a specified location.List
<org.bukkit.Location> GraveManager.getGraveLocationList
(org.bukkit.Location baseLocation, Grave grave) Retrieves a list of locations associated with a grave.org.bukkit.inventory.ItemStack
ItemStackManager.getGraveObituary
(Grave grave) Creates an ItemStack representing the obituary of a grave.org.bukkit.Location
LocationManager.getGround
(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave) Gets the ground location for placement.org.bukkit.Location
LocationManager.getLavaTop
(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave) Gets the top location above lava for placement.EntityDataManager.getLoadedEntityDataList
(Grave grave) Retrieves a list of loaded entity data associated with a specified grave.org.bukkit.Location
Gets the roof location for placement.org.bukkit.Location
LocationManager.getSafeGraveLocation
(org.bukkit.entity.LivingEntity livingEntity, org.bukkit.Location location, Grave grave) Gets a safe grave location.org.bukkit.Location
LocationManager.getSafeTeleportLocation
(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, Graves plugin) Gets a safe teleport location.org.bukkit.Location
Finds the top location for placement, searching downward from the given location's Y-coordinate.org.bukkit.Location
Gets the void location for placement.org.bukkit.Location
LocationManager.getWaterTop
(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave) Gets the top location above water for placement.void
GraveManager.giveGraveExperience
(org.bukkit.entity.Player player, Grave grave) Gives the experience from a grave to a player.void
GraveManager.graveParticle
(org.bukkit.Location location, Grave grave) Spawns particle effects around a grave.boolean
GraveManager.isGraveAbandoned
(Grave grave) Checks if a block should be ignored based on the entity and permissions.boolean
GraveManager.isGravePlaced
(Grave grave) Determines if the grave is placed in the world by checking for any physical block or entity presence at the grave's location.boolean
Opens a grave for a player.boolean
GraveManager.openGrave
(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, boolean preview) Opens a grave for a player.void
GUIManager.openGraveMenu
(org.bukkit.entity.Entity entity, Grave grave) Opens the grave menu for an entity and grave.void
GUIManager.openGraveMenu
(org.bukkit.entity.Entity entity, Grave grave, boolean sound) Opens the grave menu for an entity and grave with a sound option.void
GraveManager.placeGrave
(org.bukkit.Location location, Grave grave) Places a grave at a specified location.void
GraveManager.playEffect
(String string, org.bukkit.Location location, int data, Grave grave) Plays an effect at a specified location with additional data for a grave.void
GraveManager.playEffect
(String string, org.bukkit.Location location, Grave grave) Plays an effect at a specified location for a grave.void
EntityManager.playPlayerSound
(String string, org.bukkit.entity.Entity entity, Grave grave) Plays a player-specific sound at the entity's location.void
EntityManager.playPlayerSound
(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Plays a player-specific sound at a specified location for an entity.void
EntityManager.playWorldSound
(String string, org.bukkit.entity.Player player, Grave grave) Plays a world sound at the player's location, associated with a grave.void
EntityManager.playWorldSound
(String string, org.bukkit.Location location, Grave grave) Plays a world sound at a specified location, associated with a grave.void
BlockManager.removeBlock
(Grave grave) Removes all blocks associated with the given grave.void
EntityManager.removeEntity
(Grave grave) Removes all entities associated with a grave.void
DataManager.removeGrave
(Grave grave) Removes a grave from the database.void
GraveManager.removeGrave
(Grave grave) Removes a grave and its associated data.void
HologramManager.removeHologram
(Grave grave) Removes all holograms associated with a grave.void
DataManager.removeHologramData
(Grave grave) Removes hologram entries from the database based on the grave UUID.void
EntityManager.runCommands
(String string, String name, org.bukkit.Location location, Grave grave) Runs commands associated with a name, location, and grave.void
EntityManager.runCommands
(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Runs commands associated with an entity, location, and grave.boolean
EntityManager.runFunction
(org.bukkit.entity.Entity entity, String function, Grave grave) Runs a function associated with an entity, a specified function name, and a grave.void
EntityManager.sendMessage
(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Sends a message to an entity at a specified location associated with a grave.void
GUIManager.setGraveMenuItems
(org.bukkit.inventory.Inventory inventory, Grave grave) Sets the grave menu items in the inventory based on a grave.void
EntityManager.spawnZombie
(org.bukkit.Location location, Grave grave) Spawns a zombie at a specified location, associated with a grave.void
EntityManager.spawnZombie
(org.bukkit.Location location, org.bukkit.entity.Entity entity, org.bukkit.entity.LivingEntity targetEntity, Grave grave) Spawns a zombie at a specified location, targeting a specified entity, and associated with a grave.void
EntityManager.teleportEntity
(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Teleports an entity to a grave-related target location with safety checks, optional delay, movement-to-cancel behavior, and event hooks.void
GraveManager.toggleGraveProtection
(Grave grave) Toggles the protection state of a grave.void
DataManager.updateGrave
(Grave grave, String column, int integer) Updates a grave in the database.void
DataManager.updateGrave
(Grave grave, String column, String string) Updates a grave in the database.void
DataManager.updateGraveMainThread
(Grave grave, String column, String string) Updates a grave in the database using the main thread.Method parameters in com.ranull.graves.manager with type arguments of type GraveModifier and TypeMethodDescriptionvoid
GUIManager.setGraveListItems
(org.bukkit.inventory.Inventory inventory, List<Grave> graveList) Sets the grave list items in the inventory based on a list of graves. -
Uses of Grave in com.ranull.graves.util
Methods in com.ranull.graves.util with parameters of type GraveModifier and TypeMethodDescriptionstatic String
StringUtil.getDateString
(Grave grave, long time, Graves plugin) Gets the date string for a given time in a specific format.static String
StringUtil.getTimeString
(Grave grave, long time, Graves plugin) Gets the time string for a given duration in milliseconds.static String
StringUtil.parseString
(String string, Grave grave, Graves plugin) static String
StringUtil.parseString
(String string, org.bukkit.entity.Entity entity, String name, org.bukkit.Location location, Grave grave, Graves plugin) Parses a string and replaces placeholders with corresponding values.static String
StringUtil.parseString
(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, Graves plugin) static String
StringUtil.parseString
(String string, org.bukkit.Location location, Grave grave, Graves plugin) static String
Deprecated.This method is deprecated and will be removed in a future version. -
Uses of Grave in dev.cwhead.GravesX
Methods in dev.cwhead.GravesX that return GraveModifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.Methods in dev.cwhead.GravesX with parameters of type GraveModifier and TypeMethodDescriptionvoid
GravesXAPI.abandonGrave
(@NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.void
GravesXAPI.autoLootGrave
(@NotNull org.bukkit.entity.Entity entity, @NotNull org.bukkit.Location location, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.void
GravesXAPI.breakGrave
(@NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.void
GravesXAPI.breakGrave
(@NotNull org.bukkit.Location location, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.void
GravesXAPI.dropGraveItems
(@NotNull org.bukkit.Location location, @NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.boolean
Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1.void
GravesXAPI.removeGrave
(@NotNull Grave grave) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.9.9.1. -
Uses of Grave in dev.cwhead.GravesX.api.grave
Methods in dev.cwhead.GravesX.api.grave that return GraveModifier and TypeMethodDescriptionGets the grave typeMethods in dev.cwhead.GravesX.api.grave with parameters of type GraveModifier and TypeMethodDescriptionvoid
GraveManagementAPI.abandonGrave
(@NotNull Grave grave) Marks the specified grave as abandoned, preventing further interaction.void
GraveManagementAPI.autoLootGrave
(@NotNull org.bukkit.entity.Entity entity, @NotNull org.bukkit.Location location, @NotNull Grave grave) Automatically loots the specified grave for the given entity at the given location.void
GraveManagementAPI.breakGrave
(@NotNull Grave grave) Breaks the specified grave, triggering its removal and handling any related events.void
GraveManagementAPI.breakGrave
(@NotNull org.bukkit.Location location, @NotNull Grave grave) Breaks the specified grave at a given location.void
GraveManagementAPI.dropGraveItems
(@NotNull org.bukkit.Location location, @NotNull Grave grave) Drops the items stored in the specified grave at the given location.boolean
Deprecated.UseGraveManagementAPI.isGrave(Grave, Location)
instead for precise location checking.boolean
Checks if a given location matches the death location of a specific grave.void
GraveManagementAPI.removeGrave
(@NotNull Grave grave) Removes the specified grave from the grave manager. -
Uses of Grave in dev.cwhead.GravesX.api.provider
Methods in dev.cwhead.GravesX.api.provider with parameters of type GraveModifier and TypeMethodDescriptionboolean
Return true if this provider detects something placed for the grave.void
Create/place any custom objects for this grave at the given location.void
Remove any custom objects that belong to this grave. -
Uses of Grave in dev.cwhead.GravesX.event
Constructors in dev.cwhead.GravesX.event with parameters of type GraveModifierConstructorDescriptionGraveAbandonedEvent
(@NotNull Grave grave) Constructs a newGraveAbandonedEvent
.GraveAutoLootEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull org.bukkit.Location location, @NotNull Grave grave) Constructs a newGraveAutoLootEvent
.GraveBlockPlaceEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, BlockData.BlockType blockType) Deprecated.GraveBlockPlaceEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, BlockData.BlockType blockType, @Nullable org.bukkit.block.Block block, @Nullable org.bukkit.entity.LivingEntity livingEntity) Constructs a new GraveBlockPlaceEvent.GraveBreakEvent
(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Constructs a new GraveBreakEvent.GraveBreakEvent
(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.entity.Player player, @NotNull Grave grave, BlockData.BlockType blockType) Constructs a new GraveBreakEvent with an optional block type.GraveCloseEvent
(@NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull Grave grave, @NotNull org.bukkit.entity.Player player) Constructs a newGraveCloseEvent
.GraveCompassAddEvent
(@NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Constructs a newGraveCompassAddEvent
.GraveCompassUseEvent
(@NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Constructs a newGraveCompassUseEvent
.GraveCreateEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull Grave grave) Constructs a newGraveCreateEvent
.GraveExpiredEvent
(@NotNull Grave grave) Constructs a newGraveExpiredEvent
.GraveExplodeEvent
(@NotNull org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity, @NotNull Grave grave) Constructs a newGraveExplodeEvent
.GraveLootedEvent
(@NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull Grave grave, @NotNull org.bukkit.entity.Player player) Constructs a newGraveLootedEvent
.GraveObituaryAddEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity) Constructs a newGraveObituaryAddEvent
.GraveOpenEvent
(@NotNull org.bukkit.inventory.InventoryView inventoryView, @NotNull Grave grave, @NotNull org.bukkit.entity.Player player) Constructs a newGraveOpenEvent
.GraveParticleEvent
(@NotNull org.bukkit.entity.Player player, @NotNull Grave grave) Constructs a newGraveParticleEvent
.GravePistonExtendEvent
(@NotNull Grave grave, @Nullable org.bukkit.Location location, @NotNull org.bukkit.block.Block pistonBlock, @NotNull org.bukkit.block.BlockFace direction, @NotNull List<org.bukkit.block.Block> movedBlocks) Constructs a newGravePistonExtendEvent
.GravePlayerHeadDropEvent
(@NotNull Grave grave, @NotNull org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity) Constructs a newGravePlayerHeadDropEvent
.GravePreTeleportEvent
(@NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity) Constructs a newGravePreTeleportEvent
.GraveProjectileHitEvent
(@NotNull org.bukkit.Location location, @NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity, @Nullable org.bukkit.block.Block block) Constructs a newGraveProjectileHitEvent
.GraveProjectileHitEvent
(@NotNull org.bukkit.Location location, @NotNull org.bukkit.entity.LivingEntity livingEntity, @NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity, @Nullable org.bukkit.block.Block block) Constructs a newGraveProjectileHitEvent
.GraveProjectileHitEvent
(@NotNull org.bukkit.Location location, @NotNull org.bukkit.entity.Player player, @NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity, @Nullable org.bukkit.block.Block block) Constructs a newGraveProjectileHitEvent
.GraveProtectionCreateEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull Grave grave) Constructs a newGraveProtectionCreateEvent
.GraveProtectionExpiredEvent
(@NotNull Grave grave) Constructs a new GraveProtectionExpiredEvent.GraveTeleportEvent
(@NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity) Constructs a newGraveTeleportEvent
.GraveTimeoutEvent
(@NotNull Grave grave) Constructs a newGraveTimeoutEvent
.GraveWalkOverEvent
(@NotNull org.bukkit.entity.Entity entity, @NotNull org.bukkit.Location location, @NotNull Grave grave) Constructs a newGraveWalkOverEvent
.GraveZombieSpawnEvent
(@NotNull org.bukkit.Location location, @NotNull org.bukkit.entity.LivingEntity targetEntity, @NotNull Grave grave) Constructs a newGraveZombieSpawnEvent
. -
Uses of Grave in dev.cwhead.GravesX.event.graveevent
Fields in dev.cwhead.GravesX.event.graveevent declared as GraveModifier and TypeFieldDescriptionfinal Grave
GraveEvent.grave
The grave associated with the event.Methods in dev.cwhead.GravesX.event.graveevent that return GraveModifier and TypeMethodDescriptionGraveEvent.getGrave()
Gets the grave associated with the event.Constructors in dev.cwhead.GravesX.event.graveevent with parameters of type GraveModifierConstructorDescriptionGraveEntityEvent
(@NotNull Grave grave, @NotNull org.bukkit.entity.Entity entity, @Nullable org.bukkit.Location location, BlockData.BlockType blockType, @Nullable org.bukkit.block.Block block, @Nullable org.bukkit.entity.LivingEntity livingEntity, @Nullable org.bukkit.entity.LivingEntity targetEntity) Constructs a newGraveEntityEvent
.protected
GraveEvent
(@NotNull Grave grave, @Nullable org.bukkit.Location location, BlockData.BlockType blockType, @Nullable org.bukkit.block.Block block) Constructs a newGraveEvent
.GravePlayerEvent
(@NotNull Grave grave, @NotNull org.bukkit.entity.Player player, @Nullable org.bukkit.Location location, BlockData.BlockType blockType, @Nullable org.bukkit.block.Block block, @Nullable org.bukkit.inventory.InventoryView inventoryView, @Nullable org.bukkit.entity.LivingEntity livingEntity, @Nullable org.bukkit.entity.LivingEntity targetEntity) Constructs a newGravePlayerEvent
. -
Uses of Grave in dev.cwhead.GravesX.event.integration.skript.expressions
Methods in dev.cwhead.GravesX.event.integration.skript.expressions that return GraveModifier and TypeMethodDescriptionprotected @Nullable Grave[]
ExprEventGrave.get
(org.bukkit.event.Event e) Methods in dev.cwhead.GravesX.event.integration.skript.expressions that return types with arguments of type Grave -
Uses of Grave in dev.cwhead.GravesX.exception
Methods in dev.cwhead.GravesX.exception with parameters of type GraveModifier and TypeMethodDescriptionGravesXGraveProviderException.forProvider
(GraveProvider p, org.bukkit.Location loc, Grave grave, String detail, Throwable cause) GravesXGraveProviderException.forProvider
(GraveProvider p, org.bukkit.Location loc, Grave grave, Throwable cause) -
Uses of Grave in dev.cwhead.GravesX.integration
Methods in dev.cwhead.GravesX.integration with parameters of type GraveModifier and TypeMethodDescriptionvoid
Nexo.createBlock
(org.bukkit.Location location, Grave grave) Creates and places a Nexo block at a specified location.void
CitizensNPC.createCorpse
(UUID uuid, org.bukkit.Location location, Grave grave, boolean createEntityData) Creates a new NPC corpse with a specific UUID at the given location using the provided grave data.void
CitizensNPC.createCorpse
(org.bukkit.Location location, Grave grave) Creates a new NPC corpse at the specified location with the given grave data.void
Nexo.createFurniture
(org.bukkit.Location location, Grave grave) Creates and places Nexo furniture at a specified location.boolean
True if a Nexo custom block exists at the grave location.boolean
Nexo.hasFurniture
(Grave grave) True if a Nexo furniture entity for this grave is currently spawned.boolean
CitizensNPC.hasNPCCorpse
(Grave grave) Checks if a corpse exists for the grave.void
CitizensNPC.removeCorpse
(Grave grave) Removes the NPC corpse for the given grave.void
Nexo.removeFurniture
(Grave grave) Removes all Nexo furniture associated with a specified grave. -
Uses of Grave in dev.cwhead.GravesX.manager
Methods in dev.cwhead.GravesX.manager with parameters of type GraveModifier and TypeMethodDescriptionorg.bukkit.Vibration
ParticleManager.buildVibrationSingle
(Graves plugin, org.bukkit.Location graveLoc, Grave grave) ParticleManager.getGravesBlockData
(Grave grave, org.bukkit.Location loc) Return your Graves BlockData for this grave if available.org.bukkit.inventory.ItemStack
ParticleManager.parseItemStack
(Grave grave) Parse an ItemStack from config (material only; amount 1).ParticleManager.parseTrailData
(Graves plugin, Grave grave) Try to construct Particle.Trail reflectively to avoid compile-time dependency.void
ParticleManager.spawnVibrationBounce
(Graves plugin, org.bukkit.Location graveLoc, Grave grave, org.bukkit.Particle particle, int count) Build a Vibration instance from config, using block or entity destination. -
Uses of Grave in me.jay.GravesX.integration
Methods in me.jay.GravesX.integration with parameters of type GraveModifier and TypeMethodDescriptionvoid
FancyNPCs.createBedrockcompatCorpse
(UUID uuid, org.bukkit.Location location, Grave grave) void
FancyNPCs.createCorpse
(UUID uuid, org.bukkit.Location location, Grave grave) boolean
void
FancyNPCs.removeCorpse
(Grave grave)
GraveAbandonedEvent
instead.