tryChange

Used by CustomCrafterAPI.setRecipeNameStrictLevel to determine whether the level can be changed from the current level to tryValue. The level can only move in the stricter direction; loosening is not allowed.

Return

NameStrictLevel if the change is permitted, or the current level if not

Since

5.2.0

Parameters

tryValue

The target level to attempt to change to