These are the functions which can be called on a minecraft:enchanted_item criteria 
trigger.



setLevelsMin:
    Arguments:
        float
    Usage:
        min
    Notes:
        Sets the min level for the enchantment.

setLevelsMax:
    Arguments:
        float
    Usage:
        max
    Notes:
        Sets the max level for the enchantment.

getItemData:
    Notes:
        Returns the ItemData object so functions can be called on it.

setOreDict:
    Arguments:
        String
    Usage:
        ore dict name
    Notes:
        Sets the ore dictionary for the trigger.

setItem:
    Arguments:
        String, Integer
    Usage:
        item name, meta
    Notes:
        Sets the required item with the provided meta.

setItem:
    Arguments:
        String
    Usage:
        item name
    Notes:
        Sets the required item. This counts for any meta.

setLevelsMinMax:
    Arguments:
        float, float
    Usage:
        min, max
    Notes:
        Sets the min and max level for the enchantment.

