clearCustomModelDataFlags

fun ItemStack.clearCustomModelDataFlags(offset: Int, length: Int)

Clears the range from [offset, offset + length) in the CustomModelData.flags either removing the elements (if they are at the end of the list) or setting them to DEFAULT_FLAG.