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 Grave -
Uses of Grave in com.ranull.graves.compatibility
Methods in com.ranull.graves.compatibility with parameters of type GraveModifier and TypeMethodDescriptionprivate voidCompatibilityBlockData.applySkullData(org.bukkit.block.Skull skull, Grave grave, Graves plugin, int headType, String headBase64, String headName) Applies the skull data to the skull block.org.bukkit.inventory.ItemStackCompatibility.getSkullItemStack(Grave grave, Graves plugin) Gets the skull item stack for a given grave.org.bukkit.inventory.ItemStackCompatibilityBlockData.getSkullItemStack(Grave grave, Graves plugin) Gets the skull item stack for a given grave.org.bukkit.inventory.ItemStackCompatibilityMaterialData.getSkullItemStack(Grave grave, Graves plugin) Gets the skull item stack for a given grave.private BlockDataCompatibilityBlockData.handleBlockPlacement(org.bukkit.Location location, org.bukkit.Material material, Grave grave, Graves plugin) Handles the block placement logic.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.private voidCompatibilityBlockData.updateSkullBlock(org.bukkit.block.Block block, Grave grave, Graves plugin) Updates the skull block with the owner or texture data.private voidCompatibilityMaterialData.updateSkullBlock(org.bukkit.block.Block block, Grave grave, Graves plugin) Updates the skull block with the owner or texture data. -
Uses of Grave in com.ranull.graves.event
Fields in com.ranull.graves.event declared as GraveModifier and TypeFieldDescriptionprivate final GraveGraveEvent.graveThe grave associated with the event.Methods in com.ranull.graves.event that return GraveModifier and TypeMethodDescriptionGraveEvent.getGrave()Gets the grave associated with the event.Constructors in com.ranull.graves.event with parameters of type GraveModifierConstructorDescriptionGraveAbandonedEvent(Grave grave) Constructs a newGraveAbandonedEvent.GraveAutoLootEvent(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Constructs a newGraveAutoLootEvent.GraveBlockPlaceEvent(Grave grave, org.bukkit.Location location, BlockData.BlockType blockType) Deprecated.GraveBlockPlaceEvent(Grave grave, org.bukkit.Location location, BlockData.BlockType blockType, org.bukkit.block.Block block, org.bukkit.entity.LivingEntity livingEntity) Constructs a new GraveBlockPlaceEvent.GraveBreakEvent(org.bukkit.block.Block block, org.bukkit.entity.Player player, Grave grave) Constructs a new GraveBreakEvent.GraveCloseEvent(Grave grave, org.bukkit.inventory.InventoryView inventoryView, org.bukkit.entity.Entity entity) Deprecated.UseGraveCloseEvent(InventoryView, Grave, Player)instead.GraveCloseEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Player player) Constructs a newGraveCloseEvent.GraveCompassAddEvent(org.bukkit.entity.Entity entity, Grave grave) Deprecated.UseGraveCompassAddEvent(Player, Grave)instead.GraveCompassAddEvent(org.bukkit.entity.Player player, Grave grave) Constructs a newGraveCompassUseEvent.GraveCompassUseEvent(org.bukkit.entity.Entity entity, Grave grave) Deprecated.UseGraveCompassUseEvent(Player, Grave)instead.GraveCompassUseEvent(org.bukkit.entity.Player player, Grave grave) Constructs a newGraveCompassUseEvent.GraveCreateEvent(org.bukkit.entity.Entity entity, Grave grave) Constructs a newGraveCreateEvent.GraveEconomyEvent(Grave grave, @NotNull org.bukkit.entity.Player player) Constructs a newGraveEconomyEvent.GraveEvent(Grave grave, @Nullable org.bukkit.entity.Entity entity, @Nullable org.bukkit.Location location, @Nullable org.bukkit.inventory.InventoryView inventoryView, @Nullable org.bukkit.entity.LivingEntity livingEntity, BlockData.BlockType blockType, @Nullable org.bukkit.block.Block block, @Nullable org.bukkit.entity.LivingEntity targetEntity, @Nullable org.bukkit.entity.Player player) Constructs a newGraveEvent.GraveExplodeEvent(org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity, Grave grave) Constructs a newGraveExplodeEvent.GraveLootedEvent(Grave grave, org.bukkit.inventory.InventoryView inventoryView, org.bukkit.entity.Entity entity) Deprecated.UseGraveLootedEvent(InventoryView, Grave, Player)instead.GraveLootedEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Player player) Constructs a newGraveLootedEvent.GraveObituaryAddEvent(Grave grave, org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity) Constructs a newGraveObituaryAddEvent.GraveOpenEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Entity entity) Deprecated.UseGraveOpenEvent(InventoryView, Grave, Player)instead for better player logging.GraveOpenEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Player player) Constructs a newGraveOpenEvent.GraveParticleEvent(org.bukkit.entity.Entity entity, Grave grave) Deprecated.UseGraveParticleEvent(Player, Grave)instead.GraveParticleEvent(org.bukkit.entity.Player player, Grave grave) Constructs a newGraveParticleEvent.GravePistonExtendEvent(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(Grave grave, org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity) Constructs a newGravePlayerHeadDropEvent.GraveProjectileHitEvent(org.bukkit.Location location, Grave grave, org.bukkit.entity.Entity entity, org.bukkit.block.Block block) Constructs a newGraveEvent.GraveProjectileHitEvent(org.bukkit.Location location, org.bukkit.entity.LivingEntity livingEntity, Grave grave, org.bukkit.entity.Entity entity, org.bukkit.block.Block block) Constructs a newGraveEvent.GraveProjectileHitEvent(org.bukkit.Location location, org.bukkit.entity.Player player, Grave grave, org.bukkit.entity.Entity entity, org.bukkit.block.Block block) Constructs a newGraveEvent.GraveProtectionCreateEvent(org.bukkit.entity.Entity entity, Grave grave) Constructs a newGraveProtectionCreateEvent.GraveProtectionExpiredEvent(Grave grave) Constructs a new GraveProtectionExpiredEvent.GraveTeleportEvent(Grave grave, org.bukkit.entity.Entity entity) Constructs a newGraveTeleportEvent.GraveTimeoutEvent(Grave grave) Constructs a newGraveTimeoutEvent.GraveWalkOverEvent(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Constructs a newGraveWalkOverEvent.GraveZombieSpawnEvent(org.bukkit.Location location, org.bukkit.entity.LivingEntity targetEntity, Grave grave) Constructs a newGraveZombieSpawnEvent. -
Uses of Grave in com.ranull.graves.event.integration.skript
Fields in com.ranull.graves.event.integration.skript with type parameters of type GraveModifier and TypeFieldDescriptionprivate ch.njol.skript.lang.Literal<Grave> EvtGraveAbandoned.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveAutoLoot.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveBlockPlace.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveBreak.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveClose.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveCompassAdd.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveCompassUse.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveCreate.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveEconomy.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveExplode.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveLooted.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveObituaryAdd.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveOpen.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveParticle.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGravePistonExtend.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGravePlayerHeadDrop.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveProjectileHit.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveProtectionCreate.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveProtectionExpired.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveTeleport.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveTimeout.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveWalkOver.graveprivate ch.njol.skript.lang.Literal<Grave> EvtGraveZombieSpawn.grave -
Uses of Grave in com.ranull.graves.event.integration.skript.expressions
Methods in com.ranull.graves.event.integration.skript.expressions that return GraveModifier and TypeMethodDescriptionprotected @Nullable Grave[]ExprEventGrave.get(org.bukkit.event.Event e) Methods in com.ranull.graves.event.integration.skript.expressions that return types with arguments of type Grave -
Uses of Grave in com.ranull.graves.integration
Methods in com.ranull.graves.integration with parameters of type GraveModifier and TypeMethodDescriptionvoidFurnitureEngine.cleanupItemFrame(Grave grave) Deprecated.Plugin no longer exists externally Cleans up ItemFrames near the death location of a grave.voidWorldEdit.clearSchematic(Grave grave) voidFancyNPCs.createBedrockcompatCorpse(UUID uuid, org.bukkit.Location location, Grave grave) voidItemsAdder.createBlock(org.bukkit.Location location, Grave grave) Creates and places a custom block at a specified location.voidNexo.createBlock(org.bukkit.Location location, Grave grave) Creates and places a Nexo block at a specified location.voidOraxen.createBlock(org.bukkit.Location location, Grave grave) Deprecated.Recommend Nexo as a replacement.voidCitizensNPC.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.voidCitizensNPC.createCorpse(org.bukkit.Location location, Grave grave) Creates a new NPC corpse at the specified location with the given grave data.voidFancyNPCs.createCorpse(UUID uuid, org.bukkit.Location location, Grave grave) voidPlayerNPC.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.voidPlayerNPC.createCorpse(org.bukkit.Location location, Grave grave) Creates a new NPC corpse at the specified location with the given grave data.voidFurnitureEngine.createFurniture(org.bukkit.Location location, Grave grave) Deprecated.Plugin no longer exists externally Creates and places furniture at the specified location.voidFurnitureLib.createFurniture(org.bukkit.Location location, Grave grave) Creates and places furniture at the specified location.voidItemsAdder.createFurniture(org.bukkit.Location location, Grave grave) Creates and places custom furniture at a specified location.voidNexo.createFurniture(org.bukkit.Location location, Grave grave) Creates and places Nexo furniture at a specified location.voidOraxen.createFurniture(org.bukkit.Location location, Grave grave) Deprecated.Recommend Nexo as a replacement.voidWorldEdit.createSchematic(org.bukkit.Location location, Grave grave) Creates and places a schematic at the specified location based on the configuration for the given grave.static org.bukkit.inventory.ItemStackMiniMessage.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.booleanCitizensNPC.getNPCCorpse(Grave grave) Checks if a corpse exists for the grave.private com.sk89q.worldedit.extent.clipboard.ClipboardWorldEdit.getSchematic(org.bukkit.Location location, float yaw, String name, Grave grave) booleanvoidMultiPaper.notifyGraveCreation(Grave grave) Notifies other servers about a grave creation event.voidMultiPaper.notifyGraveRemoval(Grave grave) Notifies other servers about a grave removal event.com.sk89q.worldedit.extent.clipboard.ClipboardWorldEdit.pasteSchematic(org.bukkit.Location location, float yaw, String name, Grave grave) Pastes a schematic at the specified location with rotation based on yaw.com.sk89q.worldedit.extent.clipboard.ClipboardWorldEdit.pasteSchematic(org.bukkit.Location location, float yaw, String name, Grave grave, boolean ignoreAirBlocks) com.sk89q.worldedit.extent.clipboard.ClipboardWorldEdit.pasteSchematic(org.bukkit.Location location, String name, Grave grave) Pastes a schematic at the specified location.voidCitizensNPC.removeCorpse(Grave grave) Removes the NPC corpse for the given grave.voidFancyNPCs.removeCorpse(Grave grave) voidPlayerNPC.removeCorpse(Grave grave) Removes the NPC corpse associated with the given grave.voidFurnitureEngine.removeFurniture(Grave grave) Deprecated.Plugin no longer exists externally Removes furniture associated with the specified grave.voidFurnitureLib.removeFurniture(Grave grave) Removes furniture associated with the specified grave.voidItemsAdder.removeFurniture(Grave grave) Removes all custom furniture associated with a specific grave.voidNexo.removeFurniture(Grave grave) Removes all Nexo furniture associated with a specified grave.voidOraxen.removeFurniture(Grave grave) Deprecated.Recommend Nexo as a replacement.private voidWorldEdit.restoreBlockState(com.sk89q.worldedit.EditSession editSession, Grave grave) private voidWorldEdit.saveCurrentBlockState(org.bukkit.Location location, com.sk89q.worldedit.EditSession editSession, Grave grave) private voidprivate voidFurnitureLib.setSkull(de.Ste3et_C0st.FurnitureLib.main.entity.fContainerEntity fEntity, Grave grave) Method parameters in com.ranull.graves.integration with type arguments of type Grave -
Uses of Grave in com.ranull.graves.inventory
Fields in com.ranull.graves.inventory declared as GraveFields in com.ranull.graves.inventory with type parameters of type GraveMethods 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.listener
Methods in com.ranull.graves.listener with parameters of type GraveModifier and TypeMethodDescriptionprivate voidPlayerRespawnListener.applyPotionEffectIfWithinTime(org.bukkit.entity.Player player, List<String> permissionList, Grave grave) Applies a potion effect to the player if they respawn within the allowed time.private voidInventoryCloseListener.callGraveCloseEvent(org.bukkit.event.inventory.InventoryCloseEvent event, Grave grave, org.bukkit.entity.Player player, org.bukkit.entity.Entity entity) Calls the custom GraveCloseEvent.private voidInventoryCloseListener.callGraveLootedEvent(org.bukkit.event.inventory.InventoryCloseEvent event, Grave grave, org.bukkit.entity.Player player, org.bukkit.entity.Entity entity) Calls the custom GraveCloseEvent.private voidBlockBreakListener.explodeEffectGrave(Grave grave) private voidBlockBreakListener.finalizeGraveBreak(org.bukkit.entity.Player player, org.bukkit.block.Block block, Grave grave) Finalizes the process of breaking a grave by closing the grave, playing effects, and running commands.private org.bukkit.LocationEntityDeathListener.findGraveLocation(Grave grave, org.bukkit.entity.LivingEntity livingEntity, org.bukkit.Location location) private voidPlayerRespawnListener.giveCompassToPlayer(org.bukkit.event.player.PlayerRespawnEvent event, org.bukkit.entity.Player player, Grave grave) Gives a compass to the player that points to the location of their grave.private voidBlockBreakListener.handleAutoLoot(org.bukkit.event.block.BlockBreakEvent event, org.bukkit.entity.Player player, org.bukkit.block.Block block, Grave grave, GraveBreakEvent graveBreakEvent) Handles the auto-loot process when breaking a grave.private voidInventoryCloseListener.handleEmptyGrave(org.bukkit.event.inventory.InventoryCloseEvent event, org.bukkit.entity.Player player, Grave grave, org.bukkit.entity.Entity entity) Handles actions for an empty grave.private voidEntityDeathListener.handleFailedGravePlacement(org.bukkit.event.entity.EntityDeathEvent event, Grave grave, org.bukkit.Location location, org.bukkit.entity.LivingEntity livingEntity) Handles failed grave placement.private voidBlockBreakListener.handleGraveBreak(org.bukkit.event.block.BlockBreakEvent event, org.bukkit.entity.Player player, org.bukkit.block.Block block, Grave grave) Handles the process of breaking a grave.private voidBlockExplodeListener.handleGraveExplosion(org.bukkit.event.block.BlockExplodeEvent event, Iterator<org.bukkit.block.Block> iterator, org.bukkit.block.Block block, Grave grave, org.bukkit.Location location) Handles the explosion of a grave.private voidEntityExplodeListener.handleGraveExplosion(org.bukkit.event.entity.EntityExplodeEvent event, Iterator<org.bukkit.block.Block> iterator, org.bukkit.block.Block block, Grave grave, org.bukkit.Location location) Handles the explosion of a grave.private voidExplosionPrimeListener.handleGraveExplosion(org.bukkit.event.entity.ExplosionPrimeEvent event, Grave grave, org.bukkit.Location graveLocation) Handles the explosion of a grave.private voidInventoryClickListener.handleGraveInventoryClick(org.bukkit.event.inventory.InventoryClickEvent event, org.bukkit.entity.Player player, Grave grave) Handles inventory clicks when the inventory holder is a Grave.private voidInventoryDragListener.handleGraveInventoryDrag(org.bukkit.event.inventory.InventoryDragEvent event, org.bukkit.entity.Player player, Grave grave) Handles inventory drags when the inventory holder is a Grave.private voidBlockPistonExtendListener.handleGravePistonMove(org.bukkit.event.block.BlockPistonExtendEvent event, Grave grave, org.bukkit.block.Block piston, org.bukkit.block.BlockFace direction, List<org.bukkit.block.Block> blocks) private booleanInventoryCloseListener.isEmptyGrave(Grave grave) Checks if the grave is empty.private booleanBlockPlaceListener.isGraveBlock(Grave grave) Checks if the block is a grave block.private booleanBlockBreakListener.isGraveBreakAllowed(Grave grave) Checks if breaking the grave is allowed based on the configuration.private voidEntityDeathListener.notifyGraveCreation(org.bukkit.event.entity.EntityDeathEvent event, Grave grave, Map<org.bukkit.Location, BlockData.BlockType> locationMap, org.bukkit.entity.LivingEntity livingEntity, List<String> permissionList) Notifies the creation of the grave and places the grave blocks.private voidEntityDeathListener.performPlayerEconomyWithdrawal(Grave grave, org.bukkit.entity.LivingEntity livingEntity) Performs an economy withdrawal from a player's balance upon death, based on configuration and permissions.private voidEntityDeathListener.placeGrave(org.bukkit.event.entity.EntityDeathEvent event, Grave grave, GraveCreateEvent graveCreateEvent, List<org.bukkit.inventory.ItemStack> graveItemStackList, List<org.bukkit.inventory.ItemStack> removedItemStackList, org.bukkit.Location location, org.bukkit.entity.LivingEntity livingEntity, List<String> permissionList) Places the grave at the specified location.private voidEntityDeathListener.placeGraveBlocks(org.bukkit.event.entity.EntityDeathEvent event, Grave grave, Map<org.bukkit.Location, BlockData.BlockType> locationMap, org.bukkit.entity.LivingEntity livingEntity) Places the grave blocks at the specified locations.private voidPlayerRespawnListener.scheduleRespawnFunction(org.bukkit.entity.Player player, List<String> permissionList, Grave grave) Schedules a function to run after the player respawns.private voidEntityDeathListener.setGraveExperience(Grave grave, org.bukkit.event.entity.EntityDeathEvent event, org.bukkit.entity.LivingEntity livingEntity) Sets the experience for the grave.private voidEntityDeathListener.setupGrave(Grave grave, org.bukkit.entity.LivingEntity livingEntity, String entityName, List<String> permissionList) Sets up the basic properties of the grave.private voidEntityDeathListener.setupGraveKiller(Grave grave, org.bukkit.entity.LivingEntity livingEntity) Sets up the killer details for the grave.private voidEntityDeathListener.setupGraveProtection(org.bukkit.entity.LivingEntity livingEntity, Grave grave) Sets up the protection details for the grave.private voidEntityDeathListener.setupObituary(Grave grave, List<org.bukkit.inventory.ItemStack> graveItemStackList, org.bukkit.entity.LivingEntity livingEntity, org.bukkit.Location location) Sets up the obituary item for the grave.private voidEntityDeathListener.setupSkull(Grave grave, List<org.bukkit.inventory.ItemStack> graveItemStackList, org.bukkit.entity.LivingEntity livingEntity, org.bukkit.Location location) Sets up the skull item for the grave.private booleanBlockExplodeListener.shouldExplode(Grave grave) Checks if the grave should explode based on the configuration.private booleanEntityExplodeListener.shouldExplode(Grave grave) Checks if the grave should explode based on the configuration.private booleanExplosionPrimeListener.shouldExplode(Grave grave) Checks if the grave should explode based on the configuration.private booleanPlayerRespawnListener.shouldGiveCompass(org.bukkit.entity.Player player, List<String> permissionList, Grave grave) Checks if a compass should be given to the player based on the respawn time and configuration settings. -
Uses of Grave in com.ranull.graves.manager
Fields in com.ranull.graves.manager with type parameters of type GraveModifier and TypeFieldDescriptionCacheManager.graveMapA map of grave UUIDs to their correspondingGraveobjects.Methods in com.ranull.graves.manager that return GraveModifier and TypeMethodDescriptionImportManager.convertAngelChestToGrave(File file) Converts an AngelChest file to a Grave object.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 aGraveobject 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 correspondingGraveobjects.ImportManager.importAngelChest()Imports graves from the AngelChest plugin.ImportManager.importExternalPluginGraves()Imports graves from external plugins.Methods in com.ranull.graves.manager with parameters of type GraveModifier and TypeMethodDescriptionvoidGraveManager.abandonGrave(Grave grave) Abandons a grave.voidAdds a grave to the database.voidGraveManager.autoLootGrave(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Automatically loots a grave for a player.voidGraveManager.breakGrave(Grave grave) Breaks a grave at its death location.voidGraveManager.breakGrave(org.bukkit.Location location, Grave grave) Breaks a grave at the specified location.booleanEntityManager.canOpenGrave(org.bukkit.entity.Player player, Grave grave) Checks if a player can open a specified grave.voidGraveManager.cleanupCompasses(org.bukkit.entity.Player player, Grave grave) Cleans up compasses from a player's inventory that are associated with a grave.voidGraveManager.closeGrave(Grave grave) Closes any open inventories associated with a grave.voidEntityManager.createArmorStand(org.bukkit.Location location, Grave grave) Creates an armor stand at a specified location associated with a grave.voidBlockManager.createBlock(org.bukkit.Location location, Grave grave) Creates a block at the specified location for the given grave.voidEntityDataManager.createEntityData(org.bukkit.entity.Entity entity, Grave grave, EntityData.Type type) Creates entity data for a specified entity and grave.org.bukkit.inventory.ItemStackEntityManager.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.ItemStackItemStackManager.createGraveListItemStack(int number, Grave grave) Creates an ItemStack representing a grave in a list.org.bukkit.inventory.ItemStackItemStackManager.createGraveMenuItemStack(int slot, Grave grave) Creates an ItemStack for a grave menu slot.voidHologramManager.createHologram(org.bukkit.Location location, Grave grave) Creates a hologram at the specified location for a given grave.voidEntityManager.createItemFrame(org.bukkit.Location location, Grave grave) Creates an item frame at a specified location associated with a grave.voidGraveManager.dropGraveExperience(org.bukkit.Location location, Grave grave) Drops the experience from a grave at the specified location.voidGraveManager.dropGraveItems(org.bukkit.Location location, Grave grave) Drops the items from a grave at the specified location.private org.bukkit.LocationLocationManager.findLocationDownFromY(org.bukkit.Location location, org.bukkit.entity.Entity entity, int y, Grave grave) Attempts to find a safe grave location by searching downward from a specified Y-coordinate.private org.bukkit.LocationLocationManager.findLocationUpFromY(org.bukkit.Location location, org.bukkit.entity.Entity entity, int y, Grave grave) Attempts to find a safe grave location by searching upward from a specified Y-coordinate.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.ItemStackItemStackManager.getGraveHead(Grave grave) Creates an ItemStack representing the head of a grave owner.org.bukkit.inventory.InventoryGraveManager.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.LocationGraveManager.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.ItemStackItemStackManager.getGraveObituary(Grave grave) Creates an ItemStack representing the obituary of a grave.org.bukkit.LocationLocationManager.getGround(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave) Gets the ground location for placement.org.bukkit.LocationLocationManager.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.LocationGets the roof location for placement.org.bukkit.LocationLocationManager.getSafeGraveLocation(org.bukkit.entity.LivingEntity livingEntity, org.bukkit.Location location, Grave grave) Gets a safe grave location.org.bukkit.LocationLocationManager.getSafeTeleportLocation(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, Graves plugin) Gets a safe teleport location.doubleEntityManager.getTeleportCost(org.bukkit.Location location1, org.bukkit.Location location2, Grave grave) Calculates the cost of teleportation between two locations.org.bukkit.LocationFinds the top location for placement, searching downward from the given location's Y-coordinate.org.bukkit.LocationGets the void location for placement.org.bukkit.LocationLocationManager.getWaterTop(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave) Gets the top location above water for placement.voidGraveManager.giveGraveExperience(org.bukkit.entity.Player player, Grave grave) Gives the experience from a grave to a player.voidGraveManager.graveParticle(org.bukkit.Location location, Grave grave) Spawns particle effects around a grave.private voidGraveManager.handleGraveTimeout(Grave grave, List<Grave> graveRemoveList) Handles the timeout or abandonment of a grave by firing the GraveTimeoutEvent and then either dropping its contents (timeout) or moving it into abandoned logic.booleanGraveManager.isGraveAbandoned(Grave grave) Checks if a block should be ignored based on the entity and permissions.booleanGraveManager.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.booleanOpens a grave for a player.booleanGraveManager.openGrave(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, boolean preview) Opens a grave for a player.voidGUIManager.openGraveMenu(org.bukkit.entity.Entity entity, Grave grave) Opens the grave menu for an entity and grave.voidGUIManager.openGraveMenu(org.bukkit.entity.Entity entity, Grave grave, boolean sound) Opens the grave menu for an entity and grave with a sound option.voidGraveManager.placeGrave(org.bukkit.Location location, Grave grave) Places a grave at a specified location.voidGraveManager.playEffect(String string, org.bukkit.Location location, int data, Grave grave) Plays an effect at a specified location with additional data for a grave.voidGraveManager.playEffect(String string, org.bukkit.Location location, Grave grave) Plays an effect at a specified location for a grave.voidEntityManager.playPlayerSound(String string, org.bukkit.entity.Entity entity, Grave grave) Plays a player-specific sound at the entity's location.voidEntityManager.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.voidEntityManager.playWorldSound(String string, org.bukkit.entity.Player player, Grave grave) Plays a world sound at the player's location, associated with a grave.voidEntityManager.playWorldSound(String string, org.bukkit.Location location, Grave grave) Plays a world sound at a specified location, associated with a grave.voidBlockManager.removeBlock(Grave grave) Removes all blocks associated with the given grave.voidEntityManager.removeEntity(Grave grave) Removes all entities associated with a grave.voidDataManager.removeGrave(Grave grave) Removes a grave from the database.voidGraveManager.removeGrave(Grave grave) Removes a grave and its associated data.voidHologramManager.removeHologram(Grave grave) Removes all holograms associated with a grave.voidDataManager.removeHologramData(Grave grave) Removes hologram entries from the database based on the grave UUID.voidEntityManager.runCommands(String string, String name, org.bukkit.Location location, Grave grave) Runs commands associated with a name, location, and grave.private voidEntityManager.runCommands(String string, org.bukkit.entity.Entity entity, String name, org.bukkit.Location location, Grave grave) voidEntityManager.runCommands(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) Runs commands associated with an entity, location, and grave.booleanEntityManager.runFunction(org.bukkit.entity.Entity entity, String function, Grave grave) Runs a function associated with an entity, a specified function name, and a grave.private voidEntityManager.sendMessage(String string, org.bukkit.entity.Entity entity, String name, org.bukkit.Location location, Grave grave, List<String> permissionList) voidEntityManager.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.private voidEntityManager.sendMessage(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, List<String> permissionList) private voidGraveManager.sendPlayerMessage(Grave grave, String messageKey, org.bukkit.Location location) Utility to send a message to the grave owner if they're online.voidGUIManager.setGraveMenuItems(org.bukkit.inventory.Inventory inventory, Grave grave) Sets the grave menu items in the inventory based on a grave.booleanGraveManager.shouldIgnoreBlock(org.bukkit.block.Block block, org.bukkit.entity.Entity entity, Grave grave) Deprecated.This method is deprecated.booleanGraveManager.shouldIgnoreItemStack(org.bukkit.inventory.ItemStack itemStack, org.bukkit.entity.Entity entity, Grave grave) Checks if an item stack should be ignored based on the entity and grave.voidEntityManager.spawnZombie(org.bukkit.Location location, Grave grave) Spawns a zombie at a specified location, associated with a grave.voidEntityManager.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.private voidEntityManager.spawnZombie(org.bukkit.Location location, org.bukkit.entity.LivingEntity targetEntity, Grave grave) voidEntityManager.teleportEntity(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave) voidGraveManager.toggleGraveProtection(Grave grave) Toggles the protection state of a grave.voidDataManager.updateGrave(Grave grave, String column, int integer) Updates a grave in the database.voidDataManager.updateGrave(Grave grave, String column, String string) Updates a grave in the database.voidDataManager.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 TypeMethodDescriptionprivate voidGraveManager.handleGraveTimeout(Grave grave, List<Grave> graveRemoveList) Handles the timeout or abandonment of a grave by firing the GraveTimeoutEvent and then either dropping its contents (timeout) or moving it into abandoned logic.private voidGraveManager.processGraves(List<Grave> graveRemoveList) Processes all graves to check their remaining time and protection status.private voidGraveManager.removeExpiredElements(List<Grave> graveRemoveList, List<EntityData> entityDataRemoveList, List<BlockData> blockDataRemoveList) Removes expired graves, entities, and blocks from the system.voidGUIManager.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 StringStringUtil.getDateString(Grave grave, long time, Graves plugin) Gets the date string for a given time in a specific format.static StringStringUtil.getTimeString(Grave grave, long time, Graves plugin) Gets the time string for a given duration in milliseconds.static StringStringUtil.parseString(String string, Grave grave, Graves plugin) static StringStringUtil.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 StringStringUtil.parseString(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, Graves plugin) static StringStringUtil.parseString(String string, org.bukkit.Location location, Grave grave, Graves plugin) static StringDeprecated.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 TypeMethodDescriptionGets the grave typeMethods in dev.cwhead.GravesX with parameters of type GraveModifier and TypeMethodDescriptionvoidGravesXAPI.abandonGrave(@NotNull Grave grave) Marks the specified grave as abandoned, preventing further interaction.voidGravesXAPI.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.voidGravesXAPI.breakGrave(@NotNull Grave grave) Breaks the specified grave, triggering its removal and handling any related events.voidGravesXAPI.breakGrave(@NotNull org.bukkit.Location location, @NotNull Grave grave) Breaks the specified grave at a given location.voidGravesXAPI.dropGraveItems(@NotNull org.bukkit.Location location, @NotNull Grave grave) Drops the items stored in the specified grave at the given location.booleanDeprecated.UseGravesXAPI.isGrave(Grave, Location)instead for precise location checking.booleanChecks if a given location matches the death location of a specific grave.private voidGravesXAPI.placeGraveBlocks(@NotNull Grave grave, @NotNull Map<org.bukkit.Location, BlockData.BlockType> locationMap, @NotNull org.bukkit.entity.LivingEntity livingEntity) voidGravesXAPI.removeGrave(@NotNull Grave grave) Removes the specified grave from the grave manager.
GraveBlockPlaceEvent(Grave, Location, BlockData.BlockType, Block, LivingEntity)instead.