These are the functions which can be called on a triumph:right_click_block criteria 

trigger. This criteria is triggered by a player right clicking a block.







setFeature:

    Arguments:

        String

    Usage:

        feature id

    Notes:

        Sets the feature id. Used for things like structures.



setItem:

    Arguments:

        ItemBlockData

    Usage:

        item data

    Notes:

        Sets the required item.



setDimID:

    Arguments:

        int

    Usage:

        dimension id

    Notes:

        Sets the dimension id.



getLocationData:

    Notes:

        Returns the LocationData object so functions can be called on it.



setWorldType:

    Arguments:

        String

    Usage:

        WorldType id

    Notes:

        Sets the WorldType id.



setHitXMin:

    Arguments:

        float

    Usage:

        min

    Notes:

        Sets the min X coordinate for the interaction location on the block.



setHitYMin:

    Arguments:

        float

    Usage:

        min

    Notes:

        Sets the min Y coordinate for the interaction location on the block.



setHitXMax:

    Arguments:

        float

    Usage:

        max

    Notes:

        Sets the max X coordinate for the interaction location on the block.



setHitZMax:

    Arguments:

        float

    Usage:

        max

    Notes:

        Sets the max Z coordinate for the interaction location on the block.



setHitZMin:

    Arguments:

        float

    Usage:

        min

    Notes:

        Sets the min Z coordinate for the interaction location on the block.



setHitYMax:

    Arguments:

        float

    Usage:

        max

    Notes:

        Sets the max Y coordinate for the interaction location on the block.



setHitXMinMax:

    Arguments:

        float, float

    Usage:

        min, max

    Notes:

        Sets the min and max X coordinates for the interaction location on the block.



setHitZMinMax:

    Arguments:

        float, float

    Usage:

        min, max

    Notes:

        Sets the min and max Z coordinates for the interaction location on the block.



setHitYMinMax:

    Arguments:

        float, float

    Usage:

        min, max

    Notes:

        Sets the min and max Y coordinates for the interaction location on the block.



setBiome:

    Arguments:

        Non_Null_Biome_ID

    Usage:

        biome id

    Notes:

        Sets the biome id. Can be an int or String.



setBlock:

    Arguments:

        ItemBlockData

    Usage:

        block data

    Notes:

        Sets the required block.



setGeneratorOptions:

    Arguments:

        String

    Usage:

        generator string

    Notes:

        Sets the generator options string.



setCount:

    Arguments:

        int

    Usage:

        count

    Notes:

        Sets the number of times this criteria must be completed before it counts towards advancement progress.



getPlayerData:

    Notes:

        Gets the PlayerData for the criteria. Can set many things to test against the player themselves.



