Uses of Class
com.ranull.graves.type.Grave

Packages that use Grave
  • Uses of Grave in com.ranull.graves

    Methods in com.ranull.graves with parameters of type Grave
    Modifier and Type
    Method
    Description
    org.bukkit.configuration.ConfigurationSection
    Graves.getConfig(String config, Grave grave)
    Gets a configuration section based on a specific grave.
  • Uses of Grave in com.ranull.graves.compatibility

    Methods in com.ranull.graves.compatibility with parameters of type Grave
    Modifier and Type
    Method
    Description
    private void
    CompatibilityBlockData.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.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.
    private BlockData
    CompatibilityBlockData.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 void
    CompatibilityBlockData.updateSkullBlock(org.bukkit.block.Block block, Grave grave, Graves plugin)
    Updates the skull block with the owner or texture data.
    private void
    CompatibilityMaterialData.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 Grave
    Modifier and Type
    Field
    Description
    private final Grave
    GraveEvent.grave
    The grave associated with the event.
    Methods in com.ranull.graves.event that return Grave
    Modifier and Type
    Method
    Description
    GraveEvent.getGrave()
    Gets the grave associated with the event.
    Constructors in com.ranull.graves.event with parameters of type Grave
    Modifier
    Constructor
    Description
     
    Constructs a new GraveAbandonedEvent.
     
    GraveAutoLootEvent(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave)
    Constructs a new GraveAutoLootEvent.
     
    GraveBlockPlaceEvent(Grave grave, org.bukkit.Location location, BlockData.BlockType blockType)
     
    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)
     
    GraveCloseEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Player player)
    Constructs a new GraveCloseEvent.
     
    GraveCompassAddEvent(org.bukkit.entity.Entity entity, Grave grave)
    Deprecated.
     
    GraveCompassAddEvent(org.bukkit.entity.Player player, Grave grave)
    Constructs a new GraveCompassUseEvent.
     
    GraveCompassUseEvent(org.bukkit.entity.Entity entity, Grave grave)
    Deprecated.
     
    GraveCompassUseEvent(org.bukkit.entity.Player player, Grave grave)
    Constructs a new GraveCompassUseEvent.
     
    GraveCreateEvent(org.bukkit.entity.Entity entity, Grave grave)
    Constructs a new GraveCreateEvent.
     
    GraveEconomyEvent(Grave grave, @NotNull org.bukkit.entity.Player player)
    Constructs a new GraveEconomyEvent.
     
    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 new GraveEvent.
     
    GraveExplodeEvent(org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity, Grave grave)
    Constructs a new GraveExplodeEvent.
     
    GraveLootedEvent(Grave grave, org.bukkit.inventory.InventoryView inventoryView, org.bukkit.entity.Entity entity)
     
    GraveLootedEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Player player)
    Constructs a new GraveLootedEvent.
     
    GraveObituaryAddEvent(Grave grave, org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity)
    Constructs a new GraveObituaryAddEvent.
     
    GraveOpenEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Entity entity)
    Deprecated.
    Use GraveOpenEvent(InventoryView, Grave, Player) instead for better player logging.
     
    GraveOpenEvent(org.bukkit.inventory.InventoryView inventoryView, Grave grave, org.bukkit.entity.Player player)
    Constructs a new GraveOpenEvent.
     
    GraveParticleEvent(org.bukkit.entity.Entity entity, Grave grave)
    Deprecated.
     
    GraveParticleEvent(org.bukkit.entity.Player player, Grave grave)
    Constructs a new GraveParticleEvent.
     
    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 new GravePistonExtendEvent.
     
    GravePlayerHeadDropEvent(Grave grave, org.bukkit.Location location, @Nullable org.bukkit.entity.Entity entity)
    Constructs a new GravePlayerHeadDropEvent.
     
    GraveProjectileHitEvent(org.bukkit.Location location, Grave grave, org.bukkit.entity.Entity entity, org.bukkit.block.Block block)
    Constructs a new GraveEvent.
     
    GraveProjectileHitEvent(org.bukkit.Location location, org.bukkit.entity.LivingEntity livingEntity, Grave grave, org.bukkit.entity.Entity entity, org.bukkit.block.Block block)
    Constructs a new GraveEvent.
     
    GraveProjectileHitEvent(org.bukkit.Location location, org.bukkit.entity.Player player, Grave grave, org.bukkit.entity.Entity entity, org.bukkit.block.Block block)
    Constructs a new GraveEvent.
     
    GraveProtectionCreateEvent(org.bukkit.entity.Entity entity, Grave grave)
    Constructs a new GraveProtectionCreateEvent.
     
    Constructs a new GraveProtectionExpiredEvent.
     
    GraveTeleportEvent(Grave grave, org.bukkit.entity.Entity entity)
    Constructs a new GraveTeleportEvent.
     
    Constructs a new GraveTimeoutEvent.
     
    GraveWalkOverEvent(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave)
    Constructs a new GraveWalkOverEvent.
     
    GraveZombieSpawnEvent(org.bukkit.Location location, org.bukkit.entity.LivingEntity targetEntity, Grave grave)
    Constructs a new GraveZombieSpawnEvent.
  • Uses of Grave in com.ranull.graves.event.integration.skript

    Fields in com.ranull.graves.event.integration.skript with type parameters of type Grave
    Modifier and Type
    Field
    Description
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveAbandoned.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveAutoLoot.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveBlockPlace.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveBreak.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveClose.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveCompassAdd.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveCompassUse.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveCreate.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveEconomy.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveExplode.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveLooted.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveObituaryAdd.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveOpen.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveParticle.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGravePistonExtend.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGravePlayerHeadDrop.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveProjectileHit.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveProtectionCreate.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveProtectionExpired.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveTeleport.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveTimeout.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveWalkOver.grave
     
    private ch.njol.skript.lang.Literal<Grave>
    EvtGraveZombieSpawn.grave
     
  • Uses of Grave in com.ranull.graves.event.integration.skript.expressions

    Modifier and Type
    Method
    Description
    protected @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
    Modifier and Type
    Method
    Description
    Class<? extends Grave>
    ExprEventGrave.getReturnType()
     
  • Uses of Grave in com.ranull.graves.integration

    Methods in com.ranull.graves.integration with parameters of type Grave
    Modifier and Type
    Method
    Description
    void
    FurnitureEngine.cleanupItemFrame(Grave grave)
    Deprecated.
    Plugin no longer exists externally Cleans up ItemFrames near the death location of a grave.
    void
    WorldEdit.clearSchematic(Grave grave)
     
    void
    FancyNPCs.createBedrockcompatCorpse(UUID uuid, org.bukkit.Location location, Grave grave)
     
    void
    ItemsAdder.createBlock(org.bukkit.Location location, Grave grave)
    Creates and places a custom block at a specified location.
    void
    Nexo.createBlock(org.bukkit.Location location, Grave grave)
    Creates and places a Nexo block at a specified location.
    void
    Oraxen.createBlock(org.bukkit.Location location, Grave grave)
    Deprecated.
    Recommend Nexo as a replacement.
    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
    FancyNPCs.createCorpse(UUID uuid, org.bukkit.Location location, Grave grave)
     
    void
    PlayerNPC.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
    PlayerNPC.createCorpse(org.bukkit.Location location, Grave grave)
    Creates a new NPC corpse at the specified location with the given grave data.
    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)
    Creates and places custom furniture at a specified location.
    void
    Nexo.createFurniture(org.bukkit.Location location, Grave grave)
    Creates and places Nexo furniture at a specified location.
    void
    Oraxen.createFurniture(org.bukkit.Location location, Grave grave)
    Deprecated.
    Recommend Nexo as a replacement.
    void
    WorldEdit.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.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
    CitizensNPC.getNPCCorpse(Grave grave)
    Checks if a corpse exists for the grave.
    private com.sk89q.worldedit.extent.clipboard.Clipboard
    WorldEdit.getSchematic(org.bukkit.Location location, float yaw, String name, Grave grave)
     
    boolean
    FancyNPCs.hasCorpse(Grave grave)
     
    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.
    com.sk89q.worldedit.extent.clipboard.Clipboard
    WorldEdit.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.Clipboard
    WorldEdit.pasteSchematic(org.bukkit.Location location, float yaw, String name, Grave grave, boolean ignoreAirBlocks)
     
    com.sk89q.worldedit.extent.clipboard.Clipboard
    WorldEdit.pasteSchematic(org.bukkit.Location location, String name, Grave grave)
    Pastes a schematic at the specified location.
    void
    CitizensNPC.removeCorpse(Grave grave)
    Removes the NPC corpse for the given grave.
    void
    FancyNPCs.removeCorpse(Grave grave)
     
    void
    PlayerNPC.removeCorpse(Grave grave)
    Removes the NPC corpse associated with the given grave.
    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)
    Removes all custom furniture associated with a specific grave.
    void
    Nexo.removeFurniture(Grave grave)
    Removes all Nexo furniture associated with a specified grave.
    void
    Oraxen.removeFurniture(Grave grave)
    Deprecated.
    Recommend Nexo as a replacement.
    private void
    WorldEdit.restoreBlockState(com.sk89q.worldedit.EditSession editSession, Grave grave)
     
    private void
    WorldEdit.saveCurrentBlockState(org.bukkit.Location location, com.sk89q.worldedit.EditSession editSession, Grave grave)
     
    private void
    FurnitureLib.setSign(org.bukkit.block.Block block, List<String> stringList, Grave grave)
     
    private void
    FurnitureLib.setSkull(de.Ste3et_C0st.FurnitureLib.main.entity.fContainerEntity fEntity, Grave grave)
     
    Method parameters in com.ranull.graves.integration with type arguments of type Grave
    Modifier and Type
    Method
    Description
    private String
    PlaceholderAPI.getOwnerDetail(UUID uuid, Function<Grave,String> function)
     
  • Uses of Grave in com.ranull.graves.inventory

    Fields in com.ranull.graves.inventory declared as Grave
    Modifier and Type
    Field
    Description
    private final Grave
    GraveMenu.grave
     
    Fields in com.ranull.graves.inventory with type parameters of type Grave
    Modifier and Type
    Field
    Description
    private final List<Grave>
    GraveList.graveList
     
    Methods in com.ranull.graves.inventory that return Grave
    Modifier and Type
    Method
    Description
    GraveList.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 Grave
    Modifier
    Constructor
    Description
     
    Constructs a new GraveMenu instance for the specified grave.
    Constructor parameters in com.ranull.graves.inventory with type arguments of type Grave
    Modifier
    Constructor
    Description
     
    GraveList(UUID uuid, List<Grave> graveList)
    Constructs a new GraveList instance with the given UUID and list of graves.
  • Uses of Grave in com.ranull.graves.listener

    Methods in com.ranull.graves.listener with parameters of type Grave
    Modifier and Type
    Method
    Description
    private void
    PlayerRespawnListener.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 void
    InventoryCloseListener.callGraveCloseEvent(org.bukkit.event.inventory.InventoryCloseEvent event, Grave grave, org.bukkit.entity.Player player, org.bukkit.entity.Entity entity)
    Calls the custom GraveCloseEvent.
    private void
    InventoryCloseListener.callGraveLootedEvent(org.bukkit.event.inventory.InventoryCloseEvent event, Grave grave, org.bukkit.entity.Player player, org.bukkit.entity.Entity entity)
    Calls the custom GraveCloseEvent.
    private void
    BlockBreakListener.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.Location
    EntityDeathListener.findGraveLocation(Grave grave, org.bukkit.entity.LivingEntity livingEntity, org.bukkit.Location location)
     
    private void
    PlayerRespawnListener.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 void
    BlockBreakListener.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 void
    InventoryCloseListener.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 void
    EntityDeathListener.handleFailedGravePlacement(org.bukkit.event.entity.EntityDeathEvent event, Grave grave, org.bukkit.Location location, org.bukkit.entity.LivingEntity livingEntity)
    Handles failed grave placement.
    private void
    BlockBreakListener.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 void
    BlockExplodeListener.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 void
    EntityExplodeListener.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 void
    ExplosionPrimeListener.handleGraveExplosion(org.bukkit.event.entity.ExplosionPrimeEvent event, Grave grave, org.bukkit.Location graveLocation)
    Handles the explosion of a grave.
    private void
    InventoryClickListener.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 void
    InventoryDragListener.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 void
    BlockPistonExtendListener.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 boolean
    InventoryCloseListener.isEmptyGrave(Grave grave)
    Checks if the grave is empty.
    private boolean
    BlockPlaceListener.isGraveBlock(Grave grave)
    Checks if the block is a grave block.
    private boolean
    BlockBreakListener.isGraveBreakAllowed(Grave grave)
    Checks if breaking the grave is allowed based on the configuration.
    private void
    EntityDeathListener.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 void
    EntityDeathListener.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 void
    EntityDeathListener.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 void
    EntityDeathListener.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 void
    PlayerRespawnListener.scheduleRespawnFunction(org.bukkit.entity.Player player, List<String> permissionList, Grave grave)
    Schedules a function to run after the player respawns.
    private void
    EntityDeathListener.setGraveExperience(Grave grave, org.bukkit.event.entity.EntityDeathEvent event, org.bukkit.entity.LivingEntity livingEntity)
    Sets the experience for the grave.
    private void
    EntityDeathListener.setupGrave(Grave grave, org.bukkit.entity.LivingEntity livingEntity, String entityName, List<String> permissionList)
    Sets up the basic properties of the grave.
    private void
    EntityDeathListener.setupGraveKiller(Grave grave, org.bukkit.entity.LivingEntity livingEntity)
    Sets up the killer details for the grave.
    private void
    EntityDeathListener.setupGraveProtection(org.bukkit.entity.LivingEntity livingEntity, Grave grave)
    Sets up the protection details for the grave.
    private void
    EntityDeathListener.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 void
    EntityDeathListener.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 boolean
    BlockExplodeListener.shouldExplode(Grave grave)
    Checks if the grave should explode based on the configuration.
    private boolean
    EntityExplodeListener.shouldExplode(Grave grave)
    Checks if the grave should explode based on the configuration.
    private boolean
    ExplosionPrimeListener.shouldExplode(Grave grave)
    Checks if the grave should explode based on the configuration.
    private boolean
    PlayerRespawnListener.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 Grave
    Modifier and Type
    Field
    Description
    private final Map<UUID,Grave>
    CacheManager.graveMap
    A map of grave UUIDs to their corresponding Grave objects.
    Methods in com.ranull.graves.manager that return Grave
    Modifier and Type
    Method
    Description
    ImportManager.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.
    EntityDataManager.getGrave(org.bukkit.Location location, UUID uuid)
    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 a Grave 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 Grave
    Modifier and Type
    Method
    Description
    GraveManager.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 corresponding Grave objects.
    private List<Grave>
    ImportManager.importAngelChest()
    Imports graves from the AngelChest plugin.
    Imports graves from external plugins.
    Methods in com.ranull.graves.manager with parameters of type Grave
    Modifier and Type
    Method
    Description
    void
    GraveManager.abandonGrave(Grave grave)
    Abandons a grave.
    void
    DataManager.addGrave(Grave grave)
    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.
    private org.bukkit.Location
    LocationManager.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.Location
    LocationManager.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.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
    LocationManager.getRoof(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave)
    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.
    double
    EntityManager.getTeleportCost(org.bukkit.Location location1, org.bukkit.Location location2, Grave grave)
    Calculates the cost of teleportation between two locations.
    org.bukkit.Location
    LocationManager.getTop(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave)
    Finds the top location for placement, searching downward from the given location's Y-coordinate.
    org.bukkit.Location
    LocationManager.getVoid(org.bukkit.Location location, org.bukkit.entity.Entity entity, Grave grave)
    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.
    private void
    GraveManager.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.
    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
    GraveManager.openGrave(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave)
    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.
    private void
    EntityManager.runCommands(String string, org.bukkit.entity.Entity entity, String name, org.bukkit.Location location, Grave 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.
    private void
    EntityManager.sendMessage(String string, org.bukkit.entity.Entity entity, String name, org.bukkit.Location location, Grave grave, List<String> permissionList)
     
    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.
    private void
    EntityManager.sendMessage(String string, org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave, List<String> permissionList)
     
    private void
    GraveManager.sendPlayerMessage(Grave grave, String messageKey, org.bukkit.Location location)
    Utility to send a message to the grave owner if they're online.
    void
    GUIManager.setGraveMenuItems(org.bukkit.inventory.Inventory inventory, Grave grave)
    Sets the grave menu items in the inventory based on a grave.
    boolean
    GraveManager.shouldIgnoreBlock(org.bukkit.block.Block block, org.bukkit.entity.Entity entity, Grave grave)
    Deprecated.
    This method is deprecated.
    boolean
    GraveManager.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.
    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.
    private void
    EntityManager.spawnZombie(org.bukkit.Location location, org.bukkit.entity.LivingEntity targetEntity, Grave grave)
     
    void
    EntityManager.teleportEntity(org.bukkit.entity.Entity entity, org.bukkit.Location location, Grave grave)
     
    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.
    Method parameters in com.ranull.graves.manager with type arguments of type Grave
    Modifier and Type
    Method
    Description
    private void
    GraveManager.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 void
    GraveManager.processGraves(List<Grave> graveRemoveList)
    Processes all graves to check their remaining time and protection status.
    private void
    GraveManager.removeExpiredElements(List<Grave> graveRemoveList, List<EntityData> entityDataRemoveList, List<BlockData> blockDataRemoveList)
    Removes expired graves, entities, and blocks from the system.
    void
    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 Grave
    Modifier and Type
    Method
    Description
    static 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
    StringUtil.parseTime(String string, Grave grave)
    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 Grave
    Modifier and Type
    Method
    Description
    GravesXAPI.getGrave(@NotNull UUID uuid)
    Gets the grave type
    Methods in dev.cwhead.GravesX with parameters of type Grave
    Modifier and Type
    Method
    Description
    void
    GravesXAPI.abandonGrave(@NotNull Grave grave)
    Marks the specified grave as abandoned, preventing further interaction.
    void
    GravesXAPI.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
    GravesXAPI.breakGrave(@NotNull Grave grave)
    Breaks the specified grave, triggering its removal and handling any related events.
    void
    GravesXAPI.breakGrave(@NotNull org.bukkit.Location location, @NotNull Grave grave)
    Breaks the specified grave at a given location.
    void
    GravesXAPI.dropGraveItems(@NotNull org.bukkit.Location location, @NotNull Grave grave)
    Drops the items stored in the specified grave at the given location.
    boolean
    GravesXAPI.isGrave(@NotNull Grave grave)
    Deprecated.
    Use GravesXAPI.isGrave(Grave, Location) instead for precise location checking.
    boolean
    GravesXAPI.isGrave(@NotNull Grave grave, @NotNull org.bukkit.Location location)
    Checks if a given location matches the death location of a specific grave.
    private void
    GravesXAPI.placeGraveBlocks(@NotNull Grave grave, @NotNull Map<org.bukkit.Location,BlockData.BlockType> locationMap, @NotNull org.bukkit.entity.LivingEntity livingEntity)
     
    void
    GravesXAPI.removeGrave(@NotNull Grave grave)
    Removes the specified grave from the grave manager.