Interface RespawnAnchor

  • All Superinterfaces:
    BlockData, Cloneable

    public interface RespawnAnchor
    extends BlockData
    'charges' represents the amount of times the anchor may still be used.
    • Method Detail

      • getCharges

        int getCharges()
        Gets the value of the 'charges' property.
        Returns:
        the 'charges' value
      • setCharges

        void setCharges​(int charges)
        Sets the value of the 'charges' property.
        Parameters:
        charges - the new 'charges' value
      • getMaximumCharges

        int getMaximumCharges()
        Gets the maximum allowed value of the 'charges' property.
        Returns:
        the maximum 'charges' value