"""
Python module generated from Java source file org.bukkit.block.data.type.RespawnAnchor

Java source file obtained from artifact spigot-api version 1.21.1-R0.1-20241022.152140-54

Because this Python module is automatically generated, it may contain errors
and/or code that cannot be parsed. Please report these issues at
https://github.com/magicmq/docs-translator/issues
"""
from org.bukkit.block.data import BlockData
from org.bukkit.block.data.type import *
from typing import Any, Callable, Iterable, Tuple


class RespawnAnchor(BlockData):
    """
    'charges' represents the amount of times the anchor may still be used.
    """

    def getCharges(self) -> int:
        """
        Gets the value of the 'charges' property.

        Returns
        - the 'charges' value
        """
        ...


    def setCharges(self, charges: int) -> None:
        """
        Sets the value of the 'charges' property.

        Arguments
        - charges: the new 'charges' value
        """
        ...


    def getMaximumCharges(self) -> int:
        """
        Gets the maximum allowed value of the 'charges' property.

        Returns
        - the maximum 'charges' value
        """
        ...
